refactor txProposal input signature handling
This commit is contained in:
parent
e0ccb24b93
commit
18ffaa172a
4 changed files with 49 additions and 39 deletions
|
|
@ -219,7 +219,7 @@ describe('Wallet model', function() {
|
|||
|
||||
var t = w.txProposals;
|
||||
var txp = t.txps[ntxid];
|
||||
Object.keys(txp._inputSignatures).length.should.equal(1);
|
||||
Object.keys(txp._inputSigners).length.should.equal(1);
|
||||
var tx = txp.builder.build();
|
||||
should.exist(tx);
|
||||
chai.expect(txp.comment).to.be.null;
|
||||
|
|
@ -1108,7 +1108,7 @@ describe('Wallet model', function() {
|
|||
};
|
||||
});
|
||||
var txp = {
|
||||
_inputSignatures: [
|
||||
_inputSigners: [
|
||||
['123']
|
||||
],
|
||||
inputChainPaths: ['/m/1'],
|
||||
|
|
@ -1126,7 +1126,7 @@ describe('Wallet model', function() {
|
|||
};
|
||||
});
|
||||
var txp = {
|
||||
_inputSignatures: [
|
||||
_inputSigners: [
|
||||
['234']
|
||||
],
|
||||
inputChainPaths: ['/m/1'],
|
||||
|
|
@ -1145,7 +1145,7 @@ describe('Wallet model', function() {
|
|||
};
|
||||
});
|
||||
var txp = {
|
||||
_inputSignatures: [
|
||||
_inputSigners: [
|
||||
['234', '123']
|
||||
],
|
||||
inputChainPaths: ['/m/1'],
|
||||
|
|
@ -1165,7 +1165,7 @@ describe('Wallet model', function() {
|
|||
};
|
||||
});
|
||||
var txp = {
|
||||
_inputSignatures: [
|
||||
_inputSigners: [
|
||||
['234', '123'],
|
||||
['234']
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue