Fixes indentation for assertions

This commit is contained in:
Daniel Cousens 2014-05-06 14:13:00 +10:00
parent d65a3c36e2
commit eba08fa761

View file

@ -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(){