Skip to content

Commit

Permalink
add genesis in registry in test_miner_service
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Sep 18, 2024
1 parent a70db10 commit fd96b21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miner/tests/miner_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ async fn test_miner_service() {
registry.put_shared(dag).await.unwrap();

let genesis_hash = genesis.block().id();
registry.put_shared(genesis).await.unwrap();
let chain_header = storage
.get_block_header_by_hash(genesis_hash)
.unwrap()
Expand Down

0 comments on commit fd96b21

Please sign in to comment.