Commit 8cc9b77a authored by Krzysztof Leśniak's avatar Krzysztof Leśniak
Browse files

Move `Blocks.setup` past `DbState.initialize`

`head_block_time` was called to early, before schema was created in
`DbState.initialize`, which resulted in the following error:

```
psycopg2.errors.InvalidSchemaName: schema "hivemind_app" does not exist
LINE 1: SELECT hivemind_app.head_block_time()
```
parent 0bc666c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment