Skip to content

Commit a2591b0

Browse files
committed
fix: removeAllSignatures description
Signed-off-by: kubikusik <jakubmical@student.agh.edu.pl>
1 parent 2792fd9 commit a2591b0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/sdk/main/include/Transaction.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,10 @@ class Transaction
172172
std::vector<std::vector<std::byte>> removeSignature(const std::shared_ptr<PublicKey>& publicKey);
173173

174174
/**
175-
* Clear all signatures from the transaction and return them in a specific format.
175+
* Remove all signatures from the transaction.
176176
*
177-
* It will call collectSignatures to get the removed signatures, then clear all signatures
178-
* from the internal tracking.
179-
*
180-
* @return The removed signatures in the specified format.
181-
* @throws IllegalStateException if transaction is not frozen.
177+
* @return The removed signatures grouped by their associated public key.
178+
* @throws IllegalStateException if the transaction is not frozen.
182179
*/
183180
std::map<std::shared_ptr<PublicKey>, std::vector<std::vector<std::byte>>> removeAllSignatures();
184181

0 commit comments

Comments
 (0)