diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-07-27 05:32:52 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-08-09 05:27:30 +0800 |
commit | 6a6739ebbec291b61226c047fde7b3d0bb4a7250 (patch) | |
tree | 4f46c2cd8c14b972497134a7e7342d0a28c0b407 /packages/base-contract/src | |
parent | 6a5965d73bb542634631d7af76c150795d899744 (diff) | |
download | dexon-0x-contracts-6a6739ebbec291b61226c047fde7b3d0bb4a7250.tar.gz dexon-0x-contracts-6a6739ebbec291b61226c047fde7b3d0bb4a7250.tar.zst dexon-0x-contracts-6a6739ebbec291b61226c047fde7b3d0bb4a7250.zip |
Apply prettier
Diffstat (limited to 'packages/base-contract/src')
-rw-r--r-- | packages/base-contract/src/index.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts index e354f109e..31d2e4019 100644 --- a/packages/base-contract/src/index.ts +++ b/packages/base-contract/src/index.ts @@ -95,7 +95,11 @@ export class BaseContract { const original = args[i]; const decoded = rawDecoded[i]; if (!abiUtils.isAbiDataEqual(params.names[i], params.types[i], original, decoded)) { - throw new Error(`Cannot safely encode argument: ${params.names[i]} (${original}) of type ${params.types[i]}. (Possible type overflow or other encoding error)`); + throw new Error( + `Cannot safely encode argument: ${params.names[i]} (${original}) of type ${ + params.types[i] + }. (Possible type overflow or other encoding error)`, + ); } } } |