Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bill_payments/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ impl BillPayments {
return Err(Error::Unauthorized);
}
}
Some(current_admin) => {
Some(ref current_admin) => {
// Admin transfer - only current admin can transfer
if *current_admin != caller {
return Err(Error::Unauthorized);
Expand Down
2 changes: 1 addition & 1 deletion family_wallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ impl FamilyWallet {
// Emit admin transfer event for audit trail
env.events().publish(
(symbol_short!("family"), symbol_short!("adm_xfr")),
(current_upgrade_admin, new_admin.clone()),
(current_upgrade_admin.clone(), new_admin.clone()),
);

true
Expand Down
2 changes: 1 addition & 1 deletion savings_goals/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ impl SavingsGoalContract {
// Emit admin transfer event for audit trail
env.events().publish(
(symbol_short!("savings"), symbol_short!("adm_xfr")),
(current_upgrade_admin, new_admin.clone()),
(current_upgrade_admin.clone(), new_admin.clone()),
);
}

Expand Down
Loading
Loading