From deee63c70136b99bb7fb0553b83e73e24e9f1284 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 22 Apr 2021 12:12:42 +0200 Subject: [PATCH] dont revert to tx broadcast state when verbose tx fetch fails --- .../sparrowwallet/sparrow/transaction/HeadersController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java b/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java index 475304aa..f214bc89 100644 --- a/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java +++ b/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java @@ -941,7 +941,7 @@ public class HeadersController extends TransactionFormController implements Init if(event.getTxId().equals(headersForm.getTransaction().getTxId())) { if(event.getBlockTransaction() != null && (!Sha256Hash.ZERO_HASH.equals(event.getBlockTransaction().getBlockHash()) || headersForm.getBlockTransaction() == null)) { updateBlockchainForm(event.getBlockTransaction(), AppServices.getCurrentBlockHeight()); - } else if(headersForm.getPsbt() == null) { + } else if(headersForm.getPsbt() == null && headersForm.getBlockTransaction() == null) { boolean isSigned = true; ObservableMap signatureKeystoreMap = FXCollections.observableMap(new LinkedHashMap<>()); for(TransactionInput txInput : headersForm.getTransaction().getInputs()) {