fix missing reference

pull/1/head
yann300 6 years ago
parent da2b4f0d7d
commit 3397572dbd
  1. 2
      src/universal-dapp.js

@ -238,7 +238,7 @@ UniversalDApp.prototype.runTestTx = function (tx, cb) {
if (network.name === 'Main' && network.id === '1') { if (network.name === 'Main' && network.id === '1') {
return cb('It is not allowed to make this action against mainnet') return cb('It is not allowed to make this action against mainnet')
} }
udapp.silentRunTx(tx, (error, result) => { this.silentRunTx(tx, (error, result) => {
if (error) return cb(error) if (error) return cb(error)
cb(null, { cb(null, {
transactionHash: result.transactionHash, transactionHash: result.transactionHash,

Loading…
Cancel
Save