From 982e02a6b923ad78a3eaee745efa4b9203080727 Mon Sep 17 00:00:00 2001 From: AntiochP <30642645+antiochp@users.noreply.github.com> Date: Fri, 15 Dec 2017 21:17:27 -0500 Subject: [PATCH] fix failing cargo build (#501) --- chain/src/chain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/src/chain.rs b/chain/src/chain.rs index 2a70f4c28..bbba44ffc 100644 --- a/chain/src/chain.rs +++ b/chain/src/chain.rs @@ -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)?;