monitors/ethwallet.js
/**
   * Record that this state source consumed some gas.
   */
Record that this state source consumed some gas.
Record that this state source consumed some gas .
expectGas(gasAmount) {
    if (this.expectedGas == null) {
      this.expectedGas = web3.utils.toBN(0);
    }
    this.expectedGas = this.expectedGas.add(gasAmount);
  }
expectGas ( gasAmount ) { if ( this . expectedGas == null ) { this . expectedGas = web3 . utils . toBN ( 0 ) ; } this . expectedGas = this . expectedGas . add ( gasAmount ) ; }
Record that this state source consumed some gas.
Record that this state source consumed some gas .