Skip to content

Commit 39f1546

Browse files
committed
ChainInfo pub fields
1 parent 9b58d36 commit 39f1546

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/rpc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ pub struct ServerInfo {
7474

7575
#[derive(Debug, Clone, Serialize, Deserialize)]
7676
pub struct ChainInfo {
77-
blocks: u32,
78-
headers: u32,
77+
pub blocks: u32,
78+
pub headers: u32,
7979
}
8080

8181
#[derive(Debug, Clone, Serialize, Deserialize)]
@@ -1597,4 +1597,4 @@ async fn get_server_info(client: &reqwest::Client, rpc: &BitcoinRpc, tip: ChainA
15971597
0.0
15981598
},
15991599
})
1600-
}
1600+
}

0 commit comments

Comments
 (0)