Add version to netinfo

This commit is contained in:
jl777
2019-07-25 04:34:57 -11:00
parent 0c8f9b3729
commit fdf6f610f9

View File

@@ -370,6 +370,7 @@ UniValue NSPV_getinfo_json(struct NSPV_inforesp *ptr)
result.push_back(Pair("chaintip",ptr->blockhash.GetHex()));
result.push_back(Pair("notarization",NSPV_ntz_json(&ptr->notarization)));
result.push_back(Pair("header",NSPV_header_json(&ptr->H,ptr->hdrheight)));
result.push_back(Pair("protocolversion",ptr->version));
result.push_back(Pair("lastpeer",NSPV_lastpeer));
return(result);
}