don't expose mutable access to UserAccount
it's not preferable that the full mutable access is available to `ZapWallet`, but this PR is becoming too big already Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -98,7 +98,7 @@ fn execute_note_action(
|
||||
router_action = Some(RouterAction::route_to(Route::quote(note_id)));
|
||||
}
|
||||
NoteAction::Zap(zap_action) => {
|
||||
let cur_acc = accounts.get_selected_account_mut();
|
||||
let cur_acc = accounts.get_selected_account();
|
||||
|
||||
let sender = cur_acc.key.pubkey;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user