WIP: trade-bot: use correct Bob Bitcoin receive address in log entry

This commit is contained in:
catbref 2020-07-29 18:14:47 +01:00
parent 83955acd22
commit d2cae7c8b5

View File

@ -877,7 +877,7 @@ public class TradeBot {
repository.getCrossChainRepository().save(tradeBotData);
repository.saveChanges();
String receiveAddress = BTC.getInstance().pkhToAddress(tradeBotData.getTradeForeignPublicKeyHash());
String receiveAddress = BTC.getInstance().pkhToAddress(receivePublicKeyHash);
LOGGER.info(() -> String.format("P2SH-A %s redeemed. Funds should arrive at %s", tradeBotData.getAtAddress(), receiveAddress));
}