Removed the contract compile event

(really did it this time)
This commit is contained in:
emizzle 2018-08-13 21:49:51 +10:00 committed by Pascal Precht
parent 6f8f9a14d9
commit 23a1cf57c2
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 0 additions and 6 deletions

View File

@ -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',