mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2025-03-09 23:19:42 -06:00
save wallet on fresh subaddress
This commit is contained in:
parent
995e0be835
commit
fd0f756975
@ -37,6 +37,7 @@ public class AddressService extends ServiceBase {
|
|||||||
Wallet wallet = WalletManager.getInstance().getWallet();
|
Wallet wallet = WalletManager.getInstance().getWallet();
|
||||||
wallet.addSubaddress(wallet.getAccountIndex(), timeStamp);
|
wallet.addSubaddress(wallet.getAccountIndex(), timeStamp);
|
||||||
refreshAddresses();
|
refreshAddresses();
|
||||||
|
wallet.store();
|
||||||
return wallet.getSubaddressObject(latestAddressIndex);
|
return wallet.getSubaddressObject(latestAddressIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user