fix(network): adjust PoolDistr & ProtocolParam structs used for state queries (#551)
Signed-off-by: Pedro Sánchez Terraf <sterraf@users.noreply.github.com>
This commit is contained in:
parent
227b5781a9
commit
9747be3095
3 changed files with 33 additions and 35 deletions
|
|
@ -14,7 +14,6 @@ use pallas::{
|
|||
crypto::hash::Hash,
|
||||
};
|
||||
use tracing::info;
|
||||
use hex::FromHex;
|
||||
|
||||
async fn do_localstate_query(client: &mut NodeClient) {
|
||||
let client = client.statequery();
|
||||
|
|
@ -114,8 +113,8 @@ async fn do_localstate_query(client: &mut NodeClient) {
|
|||
|
||||
async fn do_chainsync(client: &mut NodeClient) {
|
||||
let known_points = vec![Point::Specific(
|
||||
43847831u64,
|
||||
hex::decode("15b9eeee849dd6386d3770b0745e0450190f7560e5159b1b3ab13b14b2684a45").unwrap(),
|
||||
77110778u64,
|
||||
hex::decode("18e6eeaa592c42113280ba47a0829355e6bed1c9ce67cce4be502d6031d0679a").unwrap(),
|
||||
)];
|
||||
|
||||
let (point, _) = client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue