Fixes indentation for assertions
This commit is contained in:
parent
d65a3c36e2
commit
eba08fa761
1 changed files with 8 additions and 4 deletions
|
@ -141,10 +141,14 @@ describe('Wallet', function() {
|
||||||
wallet.generateAddress()
|
wallet.generateAddress()
|
||||||
wallet.generateAddress()
|
wallet.generateAddress()
|
||||||
|
|
||||||
assertEqual(wallet.getPrivateKeyForAddress("n2fiWrHqD6GM5GiEqkbWAc6aaZQp3ba93X"),
|
assertEqual(
|
||||||
wallet.getExternalAccount().derive(1).priv)
|
wallet.getPrivateKeyForAddress("n2fiWrHqD6GM5GiEqkbWAc6aaZQp3ba93X"),
|
||||||
assertEqual(wallet.getPrivateKeyForAddress("mnXiDR4MKsFxcKJEZjx4353oXvo55iuptn"),
|
wallet.getExternalAccount().derive(1).priv
|
||||||
wallet.getInternalAccount().derive(0).priv)
|
)
|
||||||
|
assertEqual(
|
||||||
|
wallet.getPrivateKeyForAddress("mnXiDR4MKsFxcKJEZjx4353oXvo55iuptn"),
|
||||||
|
wallet.getInternalAccount().derive(0).priv
|
||||||
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('raises an error when address is not found', function(){
|
it('raises an error when address is not found', function(){
|
||||||
|
|
Loading…
Reference in a new issue