We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1e31e commit 23aef28Copy full SHA for 23aef28
json/src/lib.rs
@@ -171,7 +171,7 @@ impl Eq for ScanningDetails {}
171
#[serde(rename_all = "camelCase")]
172
pub struct GetBlockResult {
173
pub hash: bitcoin::BlockHash,
174
- pub confirmations: u32,
+ pub confirmations: i32,
175
pub size: usize,
176
pub strippedsize: Option<usize>,
177
pub weight: usize,
@@ -197,7 +197,7 @@ pub struct GetBlockResult {
197
198
pub struct GetBlockHeaderResult {
199
200
201
pub height: usize,
202
pub version: i32,
203
#[serde(default, with = "::serde_hex::opt")]
0 commit comments