Compare commits
1 Commits
249657d780
...
2ed0501176
Author | SHA1 | Date | |
---|---|---|---|
2ed0501176 |
@ -758,8 +758,6 @@ impl BrainData {
|
|||||||
}
|
}
|
||||||
account.balance = account.balance + operator.escrow - escrow;
|
account.balance = account.balance + operator.escrow - escrow;
|
||||||
operator.escrow = escrow;
|
operator.escrow = escrow;
|
||||||
} else {
|
|
||||||
return Err(Error::InsufficientFunds);
|
|
||||||
}
|
}
|
||||||
operator.email = req.email;
|
operator.email = req.email;
|
||||||
self.operators.insert(req.pubkey, operator);
|
self.operators.insert(req.pubkey, operator);
|
||||||
|
Loading…
Reference in New Issue
Block a user