mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Use aesKey in Wallet.toString()
This commit is contained in:
parent
3687a03695
commit
8e93e4be0b
2 changed files with 3 additions and 2 deletions
|
@ -208,7 +208,7 @@ public class BsqWalletService extends WalletService implements DaoStateListener
|
|||
|
||||
@Override
|
||||
String getWalletAsString(boolean includePrivKeys) {
|
||||
return wallet.toString(true, includePrivKeys, null, true, true, walletsSetup.getChain()) + "\n\n" +
|
||||
return wallet.toString(true, includePrivKeys, this.aesKey, true, true, walletsSetup.getChain()) + "\n\n" +
|
||||
"All pubKeys as hex:\n" +
|
||||
wallet.printAllPubKeysAsHex();
|
||||
}
|
||||
|
|
|
@ -138,10 +138,11 @@ public class BtcWalletService extends WalletService {
|
|||
String getWalletAsString(boolean includePrivKeys) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
getAddressEntryListAsImmutableList().forEach(e -> sb.append(e.toString()).append("\n"));
|
||||
//boolean reallyIncludePrivKeys = includePrivKeys && !wallet.isEncrypted();
|
||||
return "Address entry list:\n" +
|
||||
sb.toString() +
|
||||
"\n\n" +
|
||||
wallet.toString(true, includePrivKeys, null, true, true, walletsSetup.getChain()) + "\n\n" +
|
||||
wallet.toString(true, includePrivKeys, this.aesKey, true, true, walletsSetup.getChain()) + "\n\n" +
|
||||
"All pubKeys as hex:\n" +
|
||||
wallet.printAllPubKeysAsHex();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue