From 8b8e1e3f1390f4bc5611ff22970f3edb3dd5916e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 29 Nov 2016 21:31:39 -0800 Subject: [PATCH] migrate: update chaindb1to2. --- migrate/chaindb1to2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrate/chaindb1to2.js b/migrate/chaindb1to2.js index c05dc122..f71997c0 100644 --- a/migrate/chaindb1to2.js +++ b/migrate/chaindb1to2.js @@ -162,7 +162,7 @@ function defaultOptions() { if (options.spv) flags |= 1 << 0; - if (options.witness) + if (options.witness || options.network.witness) flags |= 1 << 1; if (options.prune)