made wallet#sign synchronous
This commit is contained in:
parent
68208f7610
commit
0db8c1008b
4 changed files with 64 additions and 68 deletions
|
|
@ -800,9 +800,7 @@ describe('Wallet model', function() {
|
|||
done();
|
||||
});
|
||||
w.privateKey = k2;
|
||||
w.sign(ntxid, function(success) {
|
||||
success.should.equal(true);
|
||||
});
|
||||
w.sign(ntxid).should.equal.true;
|
||||
});
|
||||
});
|
||||
it('should fail to reject a signed transaction', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue