hyper-multisig 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -77,7 +77,6 @@ class HyperMultisig {
|
|
|
77
77
|
return new HyperMultisigRunner(async (runner) => {
|
|
78
78
|
await srcCore.ready()
|
|
79
79
|
this.swarm.join(srcCore.discoveryKey, { client: true, server: false })
|
|
80
|
-
await srcCore.download({ start: 0, end: length }).done()
|
|
81
80
|
|
|
82
81
|
if (!force) await MultisigUtil.verifyCoreRequestable(srcCore, length, { peerUpdateTimeout })
|
|
83
82
|
|
|
@@ -143,7 +142,7 @@ class HyperMultisig {
|
|
|
143
142
|
const { length } = SignRequest.decode(z32.decode(request))
|
|
144
143
|
|
|
145
144
|
if (!force) {
|
|
146
|
-
runner.emit('verify-committable-start')
|
|
145
|
+
runner.emit('verify-committable-start', srcCore.key, core.key)
|
|
147
146
|
await MultisigUtil.verifyCoreCommittable(srcCore, core, length, {
|
|
148
147
|
skipTargetChecks,
|
|
149
148
|
peerUpdateTimeout
|
|
@@ -211,7 +210,7 @@ class HyperMultisig {
|
|
|
211
210
|
const blobsLength = content.length
|
|
212
211
|
|
|
213
212
|
if (!force) {
|
|
214
|
-
runner.emit('verify-committable-start')
|
|
213
|
+
runner.emit('verify-committable-start', srcDrive.db.core.key, core.key)
|
|
215
214
|
await MultisigUtil.verifyCoreCommittable(srcDrive.db.core, core, length, {
|
|
216
215
|
skipTargetChecks,
|
|
217
216
|
peerUpdateTimeout,
|