diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 19:45:32 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 19:45:32 +0800 |
commit | 78c46d7cc98fdd1e383a22adcd66a916301e2242 (patch) | |
tree | dae5bbcb09a8155464ee1039216bb58cf14d1879 /src | |
parent | 9f12ef61b0cc8bb295b4a2bbfdf24b41c1584da2 (diff) | |
download | dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.tar dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.tar.gz dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.tar.bz2 dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.tar.lz dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.tar.xz dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.tar.zst dexon-sol-tools-78c46d7cc98fdd1e383a22adcd66a916301e2242.zip |
Change the order of default overriding
Diffstat (limited to 'src')
-rw-r--r-- | src/contract.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract.ts b/src/contract.ts index 9dfb04446..26da67b62 100644 --- a/src/contract.ts +++ b/src/contract.ts @@ -51,8 +51,8 @@ export class Contract implements Web3.ContractInstance { txData = args.pop(); } txData = { - ...txData, ...this.defaults, + ...txData, }; const callback = (err: Error, data: any) => { if (_.isNull(err)) { |