Compare commits
1 Commits
ae5d2f911b
...
b1795eec65
Author | SHA1 | Date | |
---|---|---|---|
b1795eec65 |
@ -332,9 +332,13 @@ impl BrainData {
|
|||||||
admin_account.kicked_for.push(reason.to_string());
|
admin_account.kicked_for.push(reason.to_string());
|
||||||
operator_data.escrow -= refund_ammount;
|
operator_data.escrow -= refund_ammount;
|
||||||
|
|
||||||
|
let admin_pubkey = contract.admin_pubkey.clone();
|
||||||
|
drop(admin_account);
|
||||||
|
drop(contract);
|
||||||
|
|
||||||
self.delete_vm(grpc::DeleteVmReq {
|
self.delete_vm(grpc::DeleteVmReq {
|
||||||
uuid: contract.uuid,
|
uuid: uuid.to_string(),
|
||||||
admin_pubkey: contract.admin_pubkey,
|
admin_pubkey,
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user