save wallet on fresh subaddress

This commit is contained in:
pokkst 2022-10-06 00:28:06 -05:00
parent 995e0be835
commit fd0f756975
No known key found for this signature in database
GPG key ID: 90C2ED85E67A50FF

View file

@ -37,6 +37,7 @@ public class AddressService extends ServiceBase {
Wallet wallet = WalletManager.getInstance().getWallet();
wallet.addSubaddress(wallet.getAccountIndex(), timeStamp);
refreshAddresses();
wallet.store();
return wallet.getSubaddressObject(latestAddressIndex);
}