I'm getting a
The MetaMask Web3 object does not support synchronous methods like eth_gasPrice without a callback parameter.
even though I'm providing that callback parameter:
web3.eth.gasPrice((err, gasPrice) => {
if (err) {
console.log(err)
} else {
store.dispatch('pollWeb3', {gasPrice: gasPrice})
}
})
According to the doc this should be working. Am I mistaken?