mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
dont revert to tx broadcast state when verbose tx fetch fails
This commit is contained in:
parent
b465b9fdaf
commit
deee63c701
1 changed files with 1 additions and 1 deletions
|
@ -941,7 +941,7 @@ public class HeadersController extends TransactionFormController implements Init
|
||||||
if(event.getTxId().equals(headersForm.getTransaction().getTxId())) {
|
if(event.getTxId().equals(headersForm.getTransaction().getTxId())) {
|
||||||
if(event.getBlockTransaction() != null && (!Sha256Hash.ZERO_HASH.equals(event.getBlockTransaction().getBlockHash()) || headersForm.getBlockTransaction() == null)) {
|
if(event.getBlockTransaction() != null && (!Sha256Hash.ZERO_HASH.equals(event.getBlockTransaction().getBlockHash()) || headersForm.getBlockTransaction() == null)) {
|
||||||
updateBlockchainForm(event.getBlockTransaction(), AppServices.getCurrentBlockHeight());
|
updateBlockchainForm(event.getBlockTransaction(), AppServices.getCurrentBlockHeight());
|
||||||
} else if(headersForm.getPsbt() == null) {
|
} else if(headersForm.getPsbt() == null && headersForm.getBlockTransaction() == null) {
|
||||||
boolean isSigned = true;
|
boolean isSigned = true;
|
||||||
ObservableMap<TransactionSignature, Keystore> signatureKeystoreMap = FXCollections.observableMap(new LinkedHashMap<>());
|
ObservableMap<TransactionSignature, Keystore> signatureKeystoreMap = FXCollections.observableMap(new LinkedHashMap<>());
|
||||||
for(TransactionInput txInput : headersForm.getTransaction().getInputs()) {
|
for(TransactionInput txInput : headersForm.getTransaction().getInputs()) {
|
||||||
|
|
Loading…
Reference in a new issue