diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-01-19 08:42:36 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-01-19 08:42:42 +0100 |
commit | 5c3bfee46a5a968603748763b090c99eff52e424 (patch) | |
tree | ff30eb9de4f12a2ba07553c431e691fac5555b63 /src/rpc | |
parent | 869c6e23c5a63fa05a1e4ca1028aadc3fa8a7529 (diff) | |
parent | bd52684508ca2964e6a3af503d21ff99675380c7 (diff) |
Merge bitcoin/bitcoin#24054: test: rest /tx with an invalid/unknown txid
bd52684508ca2964e6a3af503d21ff99675380c7 test: rest /tx with an invalid/unknown txid (brunoerg)
Pull request description:
This PR adds test coverage to the endpoint `/tx` (rest) passing an invalid and an unknown txid to test its return.
Invalid -> should return status code 400 (bad request)
Unknown -> should return status code 404 (not found)
ACKs for top commit:
kallewoof:
ACK bd52684508ca2964e6a3af503d21ff99675380c7
Tree-SHA512: a7fbb63f30d06fc0855133a36e8317c7930ba13aa2b4a2dd1fc35079d59eacace72e1ffe7ae1b3e067066fe51792415940d72d923e83a659a0d5965e4110b32a
Diffstat (limited to 'src/rpc')
0 files changed, 0 insertions, 0 deletions