mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Bug fix.
This commit is contained in:
parent
4f08f9f383
commit
1cc42aef77
@ -63,7 +63,7 @@ public class CloneMakerFeeOco extends Task<PlaceOfferModel> {
|
|||||||
|
|
||||||
// AddressEntry and TxId are not linked, so do a reverse lookup
|
// AddressEntry and TxId are not linked, so do a reverse lookup
|
||||||
private Optional<String> getTxIdFromAddress(BtcWalletService walletService, Address address) {
|
private Optional<String> getTxIdFromAddress(BtcWalletService walletService, Address address) {
|
||||||
List<Transaction> txns = walletService.getRecentTransactions(10, false);
|
List<Transaction> txns = walletService.getRecentTransactions(0, false);
|
||||||
for (Transaction txn : txns) {
|
for (Transaction txn : txns) {
|
||||||
for (TransactionOutput output : txn.getOutputs()) {
|
for (TransactionOutput output : txn.getOutputs()) {
|
||||||
if (walletService.isTransactionOutputMine(output) && WalletService.isOutputScriptConvertibleToAddress(output)) {
|
if (walletService.isTransactionOutputMine(output) && WalletService.isOutputScriptConvertibleToAddress(output)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user