ethers.js
ethers.js copied to clipboard
Do not increment NonceManager delta if transaction send fails
If the sendTransaction call fails for any reason like your node/provider going down, subsequent calls to sendTransaction will fail until the user manually calls reset in their catch clause wrapping sendTransaction which I would assume not many people do.
Automatically handling this would save people lots of headache and outages.