Web3 isn't a requirement anymore for udapp

pull/1/head
Alex Beregszaszi 9 years ago
parent 07a8ab606b
commit aff86d7db9
  1. 3
      src/universal-dapp.js

@ -13,9 +13,6 @@ function UniversalDApp (contracts, options) {
this.renderOutputModifier = options.renderOutputModifier || function (name, content) { return content; };
this.web3 = options.web3;
if (!this.web3) {
throw new Error('Web3 is required for ABI encoding');
}
if (options.mode === 'vm') {
// FIXME: use `options.vm` or `this.vm` consistently

Loading…
Cancel
Save