From a436de319a763c36e3a8944af77ebf6e267a4084 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 22 Jan 2024 09:11:06 +0200 Subject: [PATCH] unfreeze txos if spent --- src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java b/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java index 9f05f47..c2379e6 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java @@ -161,6 +161,10 @@ public class WalletNode extends Persistable implements Comparable { } } } + + if(txo.isSpent() && txo.getStatus() == Status.FROZEN) { + txo.setStatus(null); + } } transactionOutputs.clear();