This PR adds missing test coverage for the RPC error "Transaction already in block chain" (error code RPC_VERIFY_ALREADY_IN_CHAIN = RPC_TRANSACTION_ALREADY_IN_CHAIN = -27), which is thrown in the function BroadcastTransaction (src/node/transaction.cpp).
test: add test for RPC error 'Transaction already in block chain' #22510
pull theStack wants to merge 1 commits into bitcoin:master from theStack:202107-test-tx_already_in_blockchain changing 1 files +9 −0-
theStack commented at 9:19 PM on July 20, 2021: member
-
test: check for RPC error 'Transaction already in block chain' (-27) 2ebf2fe0e4
- DrahtBot added the label Tests on Jul 20, 2021
- kristapsk approved
-
kristapsk commented at 10:34 PM on July 20, 2021: contributor
ACK 2ebf2fe0e4727a5a57a03f4283bdf1e263855803 (ran linter, looked at changes and ran modified test and checked code in
src/node/transaction.cpp) - darosior approved
-
darosior commented at 9:01 AM on July 21, 2021: member
ACK 2ebf2fe0e4727a5a57a03f4283bdf1e263855803
- MarcoFalke merged this on Jul 21, 2021
- MarcoFalke closed this on Jul 21, 2021
- sidhujag referenced this in commit 5435c8b23d on Jul 23, 2021
- theStack deleted the branch on Jul 31, 2021
- DrahtBot locked this on Aug 16, 2022