Skip to content

Commit

Permalink
fixed web3 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
santisiri committed Feb 7, 2020
1 parent 14523f8 commit 029a5b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,6 @@ const _askOracle = async (coin) => {
const abi = JSON.parse(coin.abi);
const contract = await new web3.eth.Contract(abi, coin.contractAddress);
let response;
console.log(coin.method);
await contract.methods[coin.method]().call({}, (err, res) => {
if (err) {
console.log(err);
Expand Down

0 comments on commit 029a5b8

Please sign in to comment.