forked from Qortal/qortal
WIP: trade-bot: use correct Bob Bitcoin receive address in log entry
This commit is contained in:
parent
83955acd22
commit
d2cae7c8b5
@ -877,7 +877,7 @@ public class TradeBot {
|
|||||||
repository.getCrossChainRepository().save(tradeBotData);
|
repository.getCrossChainRepository().save(tradeBotData);
|
||||||
repository.saveChanges();
|
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));
|
LOGGER.info(() -> String.format("P2SH-A %s redeemed. Funds should arrive at %s", tradeBotData.getAtAddress(), receiveAddress));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user