Compare commits

..

1 Commits

Author SHA1 Message Date
48f38d8c99
add support for operators 2025-02-16 02:20:33 +02:00

@ -217,9 +217,9 @@ impl BrainData {
}
fn rm_nano_from_wallet(&self, account: &str, nano_lp: u64) {
log::debug!("Adding {nano_lp} nanoLP to {account}");
log::debug!("Slashing {nano_lp} nanoLP to {account}");
self.accounts.entry(account.to_string()).and_modify(|d| {
let _ = d.balance.saturating_sub(nano_lp);
d.balance = d.balance.saturating_sub(nano_lp);
});
}