Skip to content

Commit

Permalink
Bring ContractDelete to parity
Browse files Browse the repository at this point in the history
  • Loading branch information
qtbeee committed Jan 6, 2020
1 parent ad64797 commit 461e56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hedera/contract/ContractDeleteTransaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ContractDeleteTransaction: TransactionBuilder {

/// Set the contract to be deleted
@discardableResult
public func setContract(_ id: ContractId) -> Self {
public func setContractId(_ id: ContractId) -> Self {
body.contractDeleteInstance.contractID = id.toProto()

return self
Expand Down

0 comments on commit 461e56f

Please sign in to comment.