Compare commits
1 Commits
02be48fd96
...
751e05a308
Author | SHA1 | Date | |
---|---|---|---|
751e05a308 |
@ -321,10 +321,7 @@ impl BrainData {
|
|||||||
log::debug!("Removing {nanolp_to_collect} nanoLP from {}", c.uuid);
|
log::debug!("Removing {nanolp_to_collect} nanoLP from {}", c.uuid);
|
||||||
c.locked_nano -= nanolp_to_collect;
|
c.locked_nano -= nanolp_to_collect;
|
||||||
let escrow_multiplier = match self.operators.get(&operator_wallet) {
|
let escrow_multiplier = match self.operators.get(&operator_wallet) {
|
||||||
Some(op) if op.escrow > 5000 => match self.operators.get(&c.admin_pubkey) {
|
Some(op) if op.escrow > 5000 => 5,
|
||||||
Some(user_is_op) if user_is_op.escrow > 5000 => 1,
|
|
||||||
_ => 5,
|
|
||||||
},
|
|
||||||
_ => 1,
|
_ => 1,
|
||||||
};
|
};
|
||||||
self.add_nano_to_wallet(
|
self.add_nano_to_wallet(
|
||||||
|
Loading…
Reference in New Issue
Block a user