Skip to content

Commit

Permalink
Release v6.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Nov 9, 2023
2 parents 59d84bf + 18c7aab commit 8a4da8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions lib/blockchain/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -1006,11 +1006,8 @@ class Chain extends AsyncEmitter {
const ns = await view.getNameState(this.db, nameHash);

if (ns.isNull()) {
if (!covenant.isClaim() && !covenant.isOpen()) {
const error = new CriticalError('Database inconsistency.');
this.emit('abort', error);
throw error;
}
if (!covenant.isClaim() && !covenant.isOpen())
throw new Error('Database inconsistency.');

const name = covenant.get(2);
ns.set(name, height);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hsd",
"version": "6.1.0",
"version": "6.1.1",
"description": "Cryptocurrency bike-shed",
"license": "MIT",
"repository": "git://github.com/handshake-org/hsd.git",
Expand Down

0 comments on commit 8a4da8c

Please sign in to comment.