mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 20:36:44 +00:00
include labels for hidden addresses in address csv export
This commit is contained in:
parent
74a551ed01
commit
78406fd024
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ public class AddressesController extends WalletFormController implements Initial
|
|||
writer.write(getDerivationPath(indexNode));
|
||||
Optional<Entry> optLabelEntry = getWalletForm().getNodeEntry(keyPurpose).getChildren().stream()
|
||||
.filter(entry -> ((NodeEntry)entry).getNode().getIndex() == indexNode.getIndex()).findFirst();
|
||||
writer.write(optLabelEntry.isPresent() ? optLabelEntry.get().getLabel() : "");
|
||||
writer.write(optLabelEntry.isPresent() ? optLabelEntry.get().getLabel() : indexNode.getLabel());
|
||||
writer.endRecord();
|
||||
}
|
||||
writer.close();
|
||||
|
|
Loading…
Reference in a new issue