mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-07-28 13:52:43 +02:00
minor fixes to private key sweep on bitcoin core
This commit is contained in:
@@ -2887,6 +2887,7 @@ public class AppController implements Initializable {
|
||||
}
|
||||
} else if(event.isCompleted()) {
|
||||
serverToggle.setDisable(false);
|
||||
statusBar.setProgress(0);
|
||||
if(statusBar.getText().startsWith("Scanning...")) {
|
||||
statusBar.setText("");
|
||||
}
|
||||
|
@@ -61,6 +61,7 @@ public class PrivateKeySweepDialog extends Dialog<Transaction> {
|
||||
private final TextArea key;
|
||||
private final ComboBox<ScriptType> keyScriptType;
|
||||
private final CopyableLabel keyAddress;
|
||||
private final CopyableLabel keyUtxos;
|
||||
private final ComboBoxTextField toAddress;
|
||||
private final ComboBox<Wallet> toWallet;
|
||||
private final FeeRangeSlider feeRange;
|
||||
@@ -136,6 +137,12 @@ public class PrivateKeySweepDialog extends Dialog<Transaction> {
|
||||
keyAddress.getStyleClass().add("fixed-width");
|
||||
addressField.getInputs().add(keyAddress);
|
||||
|
||||
Field utxosField = new Field();
|
||||
utxosField.setText("UTXOs:");
|
||||
keyUtxos = new CopyableLabel();
|
||||
utxosField.getInputs().add(keyUtxos);
|
||||
|
||||
|
||||
Field toAddressField = new Field();
|
||||
toAddressField.setText("Sweep to:");
|
||||
toAddress = new ComboBoxTextField();
|
||||
@@ -355,6 +362,8 @@ public class PrivateKeySweepDialog extends Dialog<Transaction> {
|
||||
Optional<Date> optSince = addressScanDateDialog.showAndWait();
|
||||
if(optSince.isPresent()) {
|
||||
since = optSince.get();
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user