Skip to content

Commit 158e7a0

Browse files
committed
Expose JsonOutPoint
1 parent c7f3370 commit 158e7a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/src/client.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ use crate::queryable;
3434
/// crate-specific Error type;
3535
pub type Result<T> = result::Result<T, Error>;
3636

37+
/// Outpoint that serializes and deserializes as a map, instead of a string,
38+
/// for use as RPC arguments
3739
#[derive(Clone, Debug, Serialize, Deserialize)]
38-
struct JsonOutPoint {
40+
pub struct JsonOutPoint {
3941
pub txid: bitcoin::Txid,
4042
pub vout: u32,
4143
}

0 commit comments

Comments
 (0)