Skip to content

Commit 6b66ad2

Browse files
committed
Expose some types for test harness
1 parent 19941e9 commit 6b66ad2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

node/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
extern crate core;
22

3+
// needed for testutil
4+
pub extern crate jsonrpsee;
5+
pub extern crate log;
6+
37
pub mod config;
48
pub mod node;
59
pub mod rpc;

node/src/rpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub(crate) type Responder<T> = oneshot::Sender<T>;
5252
#[derive(Debug, Clone, Serialize, Deserialize)]
5353
pub struct ServerInfo {
5454
pub chain: ExtendedNetwork,
55-
tip: ChainAnchor,
55+
pub tip: ChainAnchor,
5656
}
5757

5858
pub enum ChainStateCommand {

0 commit comments

Comments
 (0)