Compare commits

..

1 Commits

Author SHA1 Message Date
249657d780
add support for operators 2025-02-14 04:25:35 +02:00

@ -758,6 +758,8 @@ impl BrainData {
}
account.balance = account.balance + operator.escrow - escrow;
operator.escrow = escrow;
} else {
return Err(Error::InsufficientFunds);
}
operator.email = req.email;
self.operators.insert(req.pubkey, operator);