Skip to content

Commit

Permalink
update test for getnodestate
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 committed Dec 6, 2021
1 parent 18d1107 commit 75f128f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ mod tests {
let expected = serde_json::json!({
"candidate_peers": Vec::<SocketAddr>::new(),
"connected_peers": Vec::<SocketAddr>::new(),
"latest_block_hash": Testnet2::genesis_block().hash(),
"latest_block_height": 0,
"latest_cumulative_weight": 0,
"number_of_candidate_peers": 0,
Expand Down

0 comments on commit 75f128f

Please sign in to comment.