Update local_comms.js
This commit is contained in:
parent
5d6cf0e81d
commit
bfc6f201fc
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue