mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add reference to bitcoin RPC error codes
This commit is contained in:
parent
33cf657d1d
commit
cb289845b6
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ public class MemPoolSpaceTxBroadcaster {
|
|||
if (cause instanceof HttpException) {
|
||||
int responseCode = ((HttpException) cause).getResponseCode();
|
||||
String message = cause.getMessage();
|
||||
// See all error codes at: https://github.com/bitcoin/bitcoin/blob/master/src/rpc/protocol.h
|
||||
if (responseCode == 400 && message.contains("code\":-27")) {
|
||||
log.info("Broadcast of raw tx to {} failed as transaction {} is already confirmed",
|
||||
serviceAddress, txIdToSend);
|
||||
|
|
Loading…
Add table
Reference in a new issue