Open qcoreprotocol opened 4 years ago
When uses qtumjs-wallet library async wallet.send() function to post send token request to https://explorer.qtum.org/insight-api/tx/send. It throws error as below
async wallet.send()
Second argument must be numeric (maxfeerate) and no longer supports a boolean. To allow a transaction with high fees, set maxfeerate to 0
I haven't seen this error 2 years ago, I guess the full node for insight-api was upgraded at some point and now it is broken.
I think it is this line
https://github.com/qtumproject/insight-api/blob/f369fd4b1d44a04eb90e7e04779ac211cd5c1c12/lib/transactions.js#L393
Now it expects a numeric value (0) instead of callback boolean?
When uses qtumjs-wallet library
async wallet.send()
function to post send token request to https://explorer.qtum.org/insight-api/tx/send. It throws error as belowSecond argument must be numeric (maxfeerate) and no longer supports a boolean. To allow a transaction with high fees, set maxfeerate to 0
I haven't seen this error 2 years ago, I guess the full node for insight-api was upgraded at some point and now it is broken.
I think it is this line
https://github.com/qtumproject/insight-api/blob/f369fd4b1d44a04eb90e7e04779ac211cd5c1c12/lib/transactions.js#L393
Now it expects a numeric value (0) instead of callback boolean?