pull/1174/head
yann300 4 years ago
parent 0284623e8f
commit b84a0086b0
  1. 2
      libs/remix-lib/src/execution/txRunner.ts

@ -118,7 +118,7 @@ export class TxRunner {
this.executionContext.vm().stateManager.getAccount(Address.fromString(from)).then((res) => { this.executionContext.vm().stateManager.getAccount(Address.fromString(from)).then((res) => {
// See https://github.com/ethereumjs/ethereumjs-tx/blob/master/docs/classes/transaction.md#constructor // See https://github.com/ethereumjs/ethereumjs-tx/blob/master/docs/classes/transaction.md#constructor
// for initialization fields and their types // for initialization fields and their types
value = value ? parseInt(value) : 0 value = value ? new BN(value, 10) : 0
const tx = Transaction.fromTxData({ const tx = Transaction.fromTxData({
nonce: new BN(res.nonce), nonce: new BN(res.nonce),
gasPrice: '0x1', gasPrice: '0x1',

Loading…
Cancel
Save