Skip to content

Commit

Permalink
pmonitor: allow FVKs to be included that do not have genesis allocs
Browse files Browse the repository at this point in the history
Previously if an FVK was in the monitoring list that did not have
a genesis allocation, we'd bail out. Instead, let's just note that
its genesis balance is 0, and continue on.
  • Loading branch information
redshiftzero committed Sep 24, 2024
1 parent 1e04bf5 commit 00f2e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bin/pmonitor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ impl Opt {
*(genesis_filtered_block
.balances
.get(&fvk.to_string())
.expect("wallet must have genesis allocation")),
.unwrap_or(&Amount::from(0u64))),
));
}

Expand Down

0 comments on commit 00f2e56

Please sign in to comment.