Chapter 15 (How to Build an Oracle - Part 2) contains the following code in the default workspace
the code within:
oracleContract.events.SetLatestEthPriceEvent(async (err, event) => {
has:
if (err) {
console.error('Error on event', err)
return
}
// Do something
})
however it expects:
if (err) console.error('Error on event', err)
changing the evaluator to accept either the first or change the default workspace to include the newer one would help solve the issue
Chapter 15 (How to Build an Oracle - Part 2) contains the following code in the default workspace
the code within:
has:
however it expects:
changing the evaluator to accept either the first or change the default workspace to include the newer one would help solve the issue