Skip to content

Commit 692c744

Browse files
committed
Make MerkleProof and OutputStatus fields pub
1 parent eb03642 commit 692c744

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/api.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ pub struct TxStatus {
4242

4343
#[derive(Deserialize, Clone, Debug, PartialEq)]
4444
pub struct MerkleProof {
45-
block_height: u32,
46-
merkle: Vec<Txid>,
47-
pos: usize,
45+
pub block_height: u32,
46+
pub merkle: Vec<Txid>,
47+
pub pos: usize,
4848
}
4949

5050
#[derive(Deserialize, Clone, Debug, PartialEq)]
5151
pub struct OutputStatus {
52-
spent: bool,
53-
txid: Option<Txid>,
54-
vin: Option<u64>,
55-
status: Option<TxStatus>,
52+
pub spent: bool,
53+
pub txid: Option<Txid>,
54+
pub vin: Option<u64>,
55+
pub status: Option<TxStatus>,
5656
}
5757

5858
#[derive(Deserialize, Clone, Debug)]

0 commit comments

Comments
 (0)