aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/util
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-27 06:31:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 04:06:02 +0800
commit0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a (patch)
tree368f1c31516d6940d684fb79a5f949595d63cfc8 /packages/contracts/util
parent747732118ca7375012545629139f47bad8290056 (diff)
downloaddexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.tar
dexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.tar.gz
dexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.tar.bz2
dexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.tar.lz
dexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.tar.xz
dexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.tar.zst
dexon-sol-tools-0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a.zip
Change backend for contracts contracts
Diffstat (limited to 'packages/contracts/util')
-rw-r--r--packages/contracts/util/token_registry_wrapper.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/util/token_registry_wrapper.ts b/packages/contracts/util/token_registry_wrapper.ts
index ba0fe8af0..d78c8a64e 100644
--- a/packages/contracts/util/token_registry_wrapper.ts
+++ b/packages/contracts/util/token_registry_wrapper.ts
@@ -27,7 +27,7 @@ export class TokenRegWrapper {
address: data[0],
name: data[1],
symbol: data[2],
- decimals: data[3].toNumber(),
+ decimals: data[3],
ipfsHash: data[4],
swarmHash: data[5],
};
@@ -39,7 +39,7 @@ export class TokenRegWrapper {
address: data[0],
name: data[1],
symbol: data[2],
- decimals: data[3].toNumber(),
+ decimals: data[3],
ipfsHash: data[4],
swarmHash: data[5],
};
@@ -51,7 +51,7 @@ export class TokenRegWrapper {
address: data[0],
name: data[1],
symbol: data[2],
- decimals: data[3].toNumber(),
+ decimals: data[3],
ipfsHash: data[4],
swarmHash: data[5],
};