Skip to content

Commit

Permalink
Add missing function for AccountAddClaimTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
qtbeee committed Nov 6, 2019
1 parent be5dd94 commit ebb7386
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Sources/Hedera/account/AccountAddClaimTransaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ public final class AccountAddClaimTransaction: TransactionBuilder {
return self
}

// override static func executeClosure(_ grpc: HederaGRPCClient, _ tx: Proto_Transaction) throws -> Proto_TransactionResponse {
// try grpc.cryptoService.addClaim(tx)
// }
@discardableResult
public func setHash(_ hash: Bytes) -> Self {
body.cryptoAddClaim.claim.hash = Data(hash)

return self
}
}

0 comments on commit ebb7386

Please sign in to comment.