mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
darkfid/rpc_xmr: on submit remove just the referenced job
This commit is contained in:
@@ -464,10 +464,10 @@ impl DarkfiNode {
|
||||
block.header.pow_data = PowData::Monero(monero_pow_data);
|
||||
block.sign(secret);
|
||||
|
||||
// At this point we should be able to clear the working job.
|
||||
// At this point we should be able to remove the submitted job.
|
||||
// We still won't release the lock in hope of proposing the block
|
||||
// first.
|
||||
mm_blocktemplates.clear();
|
||||
mm_blocktemplates.remove(&template_key);
|
||||
|
||||
// Propose the new block
|
||||
info!(
|
||||
|
||||
Reference in New Issue
Block a user