Commit 1752b28c authored by Michael Müller's avatar Michael Müller Committed by Sergei Pepyakin
Browse files

Fix --import-blocks (#1807)

* Encode count of exported blocks correctly

There was a type mismatch: import used u32, export
used Number.

* Wait for import to finish

The issue was that even though the import thread
was still running, the main thread exited.

* Remove superfluous parentheses

* Improve structure, add proofs for expects

* Unify types for export/import length
parent 082ab84f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment