Renamed ListExample
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::list_transaction_crdt::{self, ListExample};
|
||||
use crate::list_transaction_crdt::{self, CrdtList};
|
||||
use bft_json_crdt::json_crdt::SignedOp;
|
||||
use bft_json_crdt::json_crdt::{BaseCrdt, CrdtNode};
|
||||
use bft_json_crdt::keypair::Ed25519KeyPair;
|
||||
@@ -8,7 +8,7 @@ use websockets::WebSocket;
|
||||
/// Starts a websocket and periodically sends a BFT-CRDT message to the websocket server
|
||||
pub(crate) async fn start(
|
||||
keys: Ed25519KeyPair,
|
||||
bft_crdt: &mut BaseCrdt<ListExample>,
|
||||
bft_crdt: &mut BaseCrdt<CrdtList>,
|
||||
) -> Result<(), websockets::WebSocketError> {
|
||||
println!("connecting to websocket at ws://127.0.0.1:8080/");
|
||||
let mut ws = WebSocket::connect("ws://127.0.0.1:8080/").await?;
|
||||
|
||||
Reference in New Issue
Block a user