Fixed miscalculating estimated fees for payable functions.

This commit is contained in:
Richard Moore 2018-08-05 18:35:00 -04:00
parent b44a80800c
commit a80a8a8ced
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -814,7 +814,9 @@ export class BaseProvider extends Provider {
let tx: TransactionRequest = { let tx: TransactionRequest = {
to: transaction.to, to: transaction.to,
from: transaction.from, from: transaction.from,
data: transaction.data data: transaction.data,
gasPrice: transaction.gasPrice,
value: transaction.value
}; };
return this.ready.then(() => { return this.ready.then(() => {