Skip to content

Commit d24fd46

Browse files
committed
Fix: removeSignature docstring style
Signed-off-by: Mascud Muse Hassan <mascuudmusse44@gmail.com>
1 parent 868ab27 commit d24fd46

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/sdk/main/include/Transaction.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ class Transaction
163163
getSignatures() const;
164164

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

174174
/**

0 commit comments

Comments
 (0)