Change the order of default overriding

This commit is contained in:
Leonid Logvinov
2017-09-05 13:45:32 +02:00
parent 9f12ef61b0
commit 78c46d7cc9

View File

@@ -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)) {