Changed name to amountInSatoshis.

This commit is contained in:
Brendon Duncan 2018-09-03 13:02:28 +12:00
commit f84b1e4f35
2 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@ describe('bitcoinUriService', function() {
expect(parsed.isValid).toBe(true);
expect(parsed.amount).toBe('20.3');
expect(parsed.amountSatoshis).toBe(2030000000);
expect(parsed.amountInSatoshis).toBe(2030000000);
expect(parsed.coin).toBe('btc');
expect(parsed.label).toBe('Luke-Jr');
expect(parsed.publicAddress.legacy).toBe('12nCRhMDfxVnuF3uYMXv2fNxBohNmacfWu');