Fix NPE issue when edit fresh account

This commit is contained in:
xyzmaker123 2022-01-31 13:17:29 +01:00
parent d8f66c0725
commit d70397214f
No known key found for this signature in database
GPG key ID: 47689699B7B0AAFC

View file

@ -119,6 +119,7 @@ class FiatAccountsDataModel extends ActivatableDataModel {
}
user.addPaymentAccount(paymentAccount);
paymentAccount.onPersistChanges();
accountAgeWitnessService.publishMyAccountAgeWitness(paymentAccount.getPaymentAccountPayload());
accountAgeWitnessService.signAndPublishSameNameAccounts();