mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-21 22:11:56 +01:00
rpcclient: update error str to match both versions (#2205)
This commit updates the error str to match the same error returned from `btcd` for both pre-0.24.2 and post-0.24.2.
This commit is contained in:
parent
f6db48af5a
commit
cc26860b40
1 changed files with 4 additions and 1 deletions
|
@ -411,7 +411,10 @@ var BtcdErrMap = map[string]error{
|
|||
"transaction already exists in blockchain": ErrTxAlreadyConfirmed,
|
||||
|
||||
// A transaction in the mempool.
|
||||
"already have transaction in mempool": ErrTxAlreadyInMempool,
|
||||
//
|
||||
// NOTE: For btcd v0.24.2 and beyond, the error message is "already
|
||||
// have transaction in mempool".
|
||||
"already have transaction": ErrTxAlreadyInMempool,
|
||||
|
||||
// A transaction with missing inputs, that never existed or only
|
||||
// existed once in the past.
|
||||
|
|
Loading…
Add table
Reference in a new issue