Fixed miscalculating estimated fees for payable functions.
This commit is contained in:
parent
b44a80800c
commit
a80a8a8ced
@ -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(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user