Skip to content

Commit

Permalink
Fix NPE issue when edit fresh account
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzmaker123 committed Feb 18, 2022
1 parent d8f66c0 commit d703972
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public void onSaveNewAccount(PaymentAccount paymentAccount) {
}

user.addPaymentAccount(paymentAccount);
paymentAccount.onPersistChanges();

accountAgeWitnessService.publishMyAccountAgeWitness(paymentAccount.getPaymentAccountPayload());
accountAgeWitnessService.signAndPublishSameNameAccounts();
Expand Down

0 comments on commit d703972

Please sign in to comment.