Comparing version 6.5.8 to 6.5.9
@@ -189,7 +189,8 @@ const BufferMap = require('tiny-buffer-map') | ||
const next = view.clock.get(idx.core.key) | ||
const length = view.clock.get(idx.core.key) | ||
if (!length) continue | ||
if (target.clock.includes(idx.core.key, next)) continue | ||
if (target.clock.includes(idx.core.key, length)) continue | ||
const head = idx.get(next) | ||
const head = idx.get(length - 1) | ||
if (!head) continue | ||
@@ -196,0 +197,0 @@ |
@@ -233,3 +233,3 @@ const b4a = require('b4a') | ||
// ack if any head is closer to confirming a value | ||
_shouldAckHeads (writer) { | ||
_shouldAckHeads (writer, pending) { | ||
const prev = writer.head() | ||
@@ -250,3 +250,3 @@ | ||
if (node.value !== null) { | ||
if (pending || node.value !== null) { | ||
const acks = this.consensus.acksFromNode(node, head) | ||
@@ -253,0 +253,0 @@ const prevAcks = this.consensus.acksFromNode(node, prev) |
{ | ||
"name": "autobase", | ||
"version": "6.5.8", | ||
"version": "6.5.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190083
5112