diff --git a/lib/mempool/contractstate.js b/lib/mempool/contractstate.js index 102733899..2dcc8fea4 100644 --- a/lib/mempool/contractstate.js +++ b/lib/mempool/contractstate.js @@ -297,7 +297,9 @@ class ContractState { } handleExpired(nameHash, items) { - return this.toSet(this.updates, nameHash, items); + this.toSet(this.updates, nameHash, items); + this.toSet(this.reveals, nameHash, items); + return this; } handleOpen(nameHash, items) { @@ -335,7 +337,7 @@ class ContractState { const state = ns.state(nextHeight, network); switch (state) { - case states.OPEN: + case states.OPENING: this.handleOpen(nameHash, invalid); break; case states.BIDDING: diff --git a/lib/primitives/covenant.js b/lib/primitives/covenant.js index 56250d5ea..f2deac8f1 100644 --- a/lib/primitives/covenant.js +++ b/lib/primitives/covenant.js @@ -618,7 +618,7 @@ class Covenant extends bio.Struct { */ format() { - return ``; + return ``; } /**