mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
fix failing cargo build (#501)
This commit is contained in:
parent
515aacc73c
commit
982e02a6b9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ impl Chain {
|
||||||
Err(NotFoundErr) => {
|
Err(NotFoundErr) => {
|
||||||
let tip = Tip::new(genesis.hash());
|
let tip = Tip::new(genesis.hash());
|
||||||
chain_store.save_block(&genesis)?;
|
chain_store.save_block(&genesis)?;
|
||||||
chain_store.setup_height(&genesis.header, tip)?;
|
chain_store.setup_height(&genesis.header, &tip)?;
|
||||||
|
|
||||||
// saving a new tip based on genesis
|
// saving a new tip based on genesis
|
||||||
chain_store.save_head(&tip)?;
|
chain_store.save_head(&tip)?;
|
||||||
|
|
Loading…
Reference in a new issue