aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-11-20 05:05:36 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-11-29 08:38:10 +0800
commitb213cb39747ba0b78138d5a1db07b511bd9fd3b8 (patch)
tree92fbbc325795afeb4ccd0d5a8d96b27ba4a48fb6 /packages/utils/src
parent5b187935dc6bf194555e1652dbf53d1c637d4add (diff)
downloaddexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.gz
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.bz2
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.lz
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.xz
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.tar.zst
dexon-sol-tools-b213cb39747ba0b78138d5a1db07b511bd9fd3b8.zip
Temporary change for testing functions
Diffstat (limited to 'packages/utils/src')
-rw-r--r--packages/utils/src/abi_encoder/data_type.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/src/abi_encoder/data_type.ts b/packages/utils/src/abi_encoder/data_type.ts
index 0f3cecac5..21c08ef54 100644
--- a/packages/utils/src/abi_encoder/data_type.ts
+++ b/packages/utils/src/abi_encoder/data_type.ts
@@ -41,7 +41,7 @@ export abstract class DataType {
}
public decode(calldata: string, rules?: DecodingRules): any {
- const rawCalldata = new RawCalldata(calldata, false); // @TODO Sohuld not hardcode false here
+ const rawCalldata = new RawCalldata(calldata, true); // @TODO Sohuld not hardcode false here
const rules_ = rules ? rules : DataType.DEFAULT_DECODING_RULES;
const value = this.generateValue(rawCalldata, rules_);
return value;