File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 /* *
You can’t perform that action at this time.
0 commit comments