diff --git a/lib/modules/solidity/index.js b/lib/modules/solidity/index.js index 34a60400..dfbccb2b 100644 --- a/lib/modules/solidity/index.js +++ b/lib/modules/solidity/index.js @@ -15,12 +15,6 @@ class Solidity { embark.registerCompiler(".sol", this.compile_solidity.bind(this)); - - this.events.setCommandHandler("contract:compile", (contractCode, cb) => { - const input = {'fiddler': {content: contractCode.replace(/\r\n/g, '\n')}}; - this.compile_solidity_code(input, {}, true, cb); - }); - embark.registerAPICall( 'post', '/embark-api/contract/compile',