mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-04-29 15:37:50 +00:00
Signer fixes (#1604)
* Factor out reused wallet generation * Remove extraneous types * Clarify that multisign takes signed transactions Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
This commit is contained in:
committed by
Mayukha Vadari
parent
c401f703c7
commit
eb56eb181a
@@ -32,10 +32,10 @@ function sign(wallet: Wallet, tx: Transaction, forMultisign = false): string {
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes several transactions (in object or blob form) and creates a single transaction with all Signers
|
||||
* that then gets signed and returned.
|
||||
* Takes several transactions with Signer fields (in object or blob form) and creates a
|
||||
* single transaction with all Signers that then gets signed and returned.
|
||||
*
|
||||
* @param transactions - An array of Transactions (in object or blob form) to combine and sign.
|
||||
* @param transactions - An array of signed Transactions (in object or blob form) to combine into a single signed Transaction.
|
||||
* @returns A single signed Transaction which has all Signers from transactions within it.
|
||||
* @throws ValidationError if:
|
||||
* - There were no transactions given to sign
|
||||
|
||||
Reference in New Issue
Block a user