[NebulousLabs/Sia] error while loading the WAL at startup: failed to recover WAL: walFile metadata mismatch (#3192)

# BUG REPORT

**Stack Trace or error message**

$ ./siad -M gctwrh
Sia Daemon v1.3.1
Loading…
(0/6) Loading siad…
(1/6) Loading gateway…
(2/6) Loading consensus…
(3/6) Loading transaction pool…
(4/6) Loading wallet…
(5/6) Loading host…
error while loading the WAL at startup: failed to recover WAL: walFile metadata mismatch: error reading WAL metadata: json: cannot unmarshal string into Go value of type persist.Metadata

**Expected Behavior**

siad should start without an error message

**How to reproduce it (as minimally and precisely as possible)**

./siad -M gctwrh

**Environment**
* Sia version: v1.3.1
* OS: Ubuntu 17.10 64 bit

Добавить комментарий