mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Update local_comms.js
This commit is contained in:
@@ -425,6 +425,7 @@ function Database(){
|
||||
let txn = this.env.beginTxn();
|
||||
let blockData = global.protos.Block.decode(txn.getBinary(this.blockDB, blockId));
|
||||
blockData.valid = false;
|
||||
blockData.unlocked = true;
|
||||
txn.putBinary(this.blockDB, blockId, global.protos.Block.encode(blockData));
|
||||
txn.commit();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user