Implemented a blank Btc command

This commit is contained in:
Dave Hrycyszyn
2024-06-20 17:21:41 +01:00
parent c0c5a12e84
commit 13e144f19e
7 changed files with 36 additions and 16 deletions

View File

@@ -2,7 +2,7 @@ use bft_json_crdt::{
json_crdt::{BaseCrdt, SignedOp},
keypair::make_keypair,
};
use side_node::{crdt::TransactionList, keys, node::SideNode, utils, websocket::WebSocketClient};
use side_node::{clients::websocket::Client, crdt::TransactionList, keys, node::SideNode, utils};
use tokio::sync::mpsc;
#[tokio::test]
@@ -43,7 +43,7 @@ async fn setup(_: &str) -> SideNode {
let (_, stdin_receiver) = std::sync::mpsc::channel();
// Finally, create the node and return it
let handle = WebSocketClient::new(incoming_sender).await;
let handle = Client::new(incoming_sender).await;
let node = SideNode::new(
crdt,
bft_crdt_keys,