aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/contract.ts')
-rw-r--r--src/contract.ts2
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)) {