mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 01:40:07 +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
@ -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…
Reference in New Issue
Block a user