Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/sdk/main/include/Transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ class Transaction
getSignatures() const;

/**
* This method removes all signatures from the transaction based on the public key provided.
* Remove the signature(s) associated with a specific public key from the transaction.
*
* @param publicKey The public key associated with the signature to remove.
* @param publicKey The public key whose signature should be removed.
* @return The removed signatures.
* @throws IllegalStateException if transaction is not frozen or the given key didn't sign it off.
* @throws IllegalStateException If the transaction is not frozen or the public key has not signed this transaction.
*/
std::vector<std::vector<std::byte>> removeSignature(const std::shared_ptr<PublicKey>& publicKey);

Expand Down
Loading