Moved keys submodules
This commit is contained in:
@@ -2,9 +2,7 @@ use bft_json_crdt::{
|
||||
json_crdt::{BaseCrdt, SignedOp},
|
||||
keypair::make_keypair,
|
||||
};
|
||||
use side_node::{
|
||||
bitcoin_keys, crdt::TransactionList, node::SideNode, utils, websocket::WebSocketClient,
|
||||
};
|
||||
use side_node::{crdt::TransactionList, keys, node::SideNode, utils, websocket::WebSocketClient};
|
||||
use tokio::sync::mpsc;
|
||||
|
||||
#[tokio::test]
|
||||
@@ -37,7 +35,7 @@ async fn test_distribute_via_websockets() {
|
||||
async fn setup(_: &str) -> SideNode {
|
||||
// First, load up the keys and create a bft-crdt
|
||||
let bft_crdt_keys = make_keypair();
|
||||
let bitcoin_keys = bitcoin_keys::make_keypair();
|
||||
let bitcoin_keys = keys::bitcoin::make_keypair();
|
||||
let crdt = BaseCrdt::<TransactionList>::new(&bft_crdt_keys);
|
||||
|
||||
// Channels for internal communication, and a tokio task for stdin input
|
||||
|
||||
Reference in New Issue
Block a user