fix failing cargo build (#501)

This commit is contained in:
AntiochP 2017-12-15 21:17:27 -05:00 committed by GitHub
parent 515aacc73c
commit 982e02a6b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ impl Chain {
Err(NotFoundErr) => {
let tip = Tip::new(genesis.hash());
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
chain_store.save_head(&tip)?;