Added logging when no addresses are returned for a bitcoiny transaction output.

This commit is contained in:
CalDescent 2022-02-23 09:29:16 +00:00
parent e339ab856f
commit 2d493a4ea2

View File

@ -417,6 +417,7 @@ public class ElectrumX extends BitcoinyBlockchainProvider {
this.uselessServers.add(this.currentServer);
this.closeServer(this.currentServer);
}
LOGGER.info("No output addresses returned for transaction {}", txHash);
throw new ForeignBlockchainException(String.format("No output addresses returned for transaction %s", txHash));
}