Compare commits
1 Commits
2ed0501176
...
249657d780
Author | SHA1 | Date | |
---|---|---|---|
249657d780 |
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user