add longestchain and notarized to lightinfod
This commit is contained in:
@@ -102,7 +102,6 @@ impl LightClientConfig {
|
||||
chain_name : info.chain_name,
|
||||
sapling_activation_height : info.sapling_activation_height,
|
||||
consensus_branch_id : info.consensus_branch_id,
|
||||
//difficulty : info.difficulty,
|
||||
anchor_offset : ANCHOR_OFFSET,
|
||||
no_cert_verification : dangerous,
|
||||
data_dir : None,
|
||||
@@ -595,6 +594,8 @@ impl LightClient {
|
||||
"consensus_branch_id" => i.consensus_branch_id,
|
||||
"latest_block_height" => i.block_height,
|
||||
"difficulty" => i.difficulty,
|
||||
"longestchain" => i.longestchain,
|
||||
"notarized" => i.notarized,
|
||||
};
|
||||
o.pretty(2)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user