remove zero gas-fees on matic
MODIFY
src/index.js
src/index.js
@@ -580,9 +580,7 @@ export default class Matic {
: options.gasLimit || options.gas,
// NOTE: Gas Price is set to '0', take care of type of gasPrice on web3^1.0.0-beta.36
!options.gasPrice
- ? !web3.matic
? web3.eth.getGasPrice()
- : '0'
: options.gasPrice,
!options.nonce
? web3.eth.getTransactionCount(from, 'pending')

remove zero gas-fees on matic