Fix for test on PublicKeyRing.
This commit is contained in:
parent
5c158a65e1
commit
cf1f7eae01
1 changed files with 2 additions and 1 deletions
|
|
@ -163,11 +163,12 @@ describe('PublicKeyRing model', function() {
|
|||
|
||||
var as = w.getAddressesInfo();
|
||||
as.length.should.equal(5); // include pre-generated shared one
|
||||
console.log(as);
|
||||
for (var j in as) {
|
||||
var a = as[j];
|
||||
a.address.isValid().should.equal(true);
|
||||
a.addressStr.should.equal(a.address.toString());
|
||||
a.isChange.should.equal([false, false, false, true, true][j]);
|
||||
a.isChange.should.equal([false, true, true, false, false][j]);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue