Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #189 from makerdao/gnosis-walletconnect-fix
Browse files Browse the repository at this point in the history
explicitly add value property to tx options
  • Loading branch information
levity authored Nov 21, 2019
2 parents 6035dd6 + 24742dd commit ae1b2a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/dai/src/eth/TransactionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export default class TransactionManager extends PublicService {
businessObject = options.businessObject;
delete options.businessObject;
}

// some subproviders require a value key included with the Tx
if (!has(options, 'value')) {
options.value = 0;
}
} else {
options = {};
}
Expand Down

0 comments on commit ae1b2a0

Please sign in to comment.