add longestchain and notarized to lightinfod

This commit is contained in:
Denio
2019-12-02 11:43:40 +01:00
parent a8f465ca57
commit 1268d33083
3 changed files with 4 additions and 2 deletions

View File

@@ -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)
},