decred / vspd

A Voting Service Provider (VSP) for the Decred network.
ISC License
18 stars 21 forks source link

rpc: Ignore another "duplicate tx" error. #398

Closed jholdstock closed 1 year ago

jholdstock commented 1 year ago

sendrawtransaction is expected to fail if the transaction already exists in the mempool or a mined block. dcrd returns two different errors which can indicate this situation. Handling for one of them already existed, and this commit adds handling for the other.