mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-29 16:45:49 +00:00
Signer (#1573)
Create Signer class to allow for offline signing, multisigning and signing authorizeChannel requests.
This commit is contained in:
committed by
Mayukha Vadari
parent
04dd65af38
commit
c401f703c7
@@ -42,9 +42,11 @@ describe('BaseTransaction', function () {
|
||||
],
|
||||
Signers: [
|
||||
{
|
||||
Account: 'r....',
|
||||
TxnSignature: 'DEADBEEF',
|
||||
SigningPubKey: 'hex-string',
|
||||
Signer: {
|
||||
Account: 'r....',
|
||||
TxnSignature: 'DEADBEEF',
|
||||
SigningPubKey: 'hex-string',
|
||||
},
|
||||
},
|
||||
],
|
||||
SourceTag: 31,
|
||||
@@ -197,7 +199,9 @@ describe('BaseTransaction', function () {
|
||||
TransactionType: 'Payment',
|
||||
Signers: [
|
||||
{
|
||||
Account: 'r....',
|
||||
Signer: {
|
||||
Account: 'r....',
|
||||
},
|
||||
},
|
||||
],
|
||||
} as any
|
||||
|
||||
Reference in New Issue
Block a user