WIP
This commit is contained in:
@@ -35,7 +35,8 @@ 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 = keys::bitcoin::make_keypair();
|
||||
let mnemonic_words = keys::bitcoin::make_mnemonic();
|
||||
let bitcoin_wallet = keys::bitcoin::create_wallet(mnemonic_words).unwrap();
|
||||
let crdt = BaseCrdt::<TransactionList>::new(&bft_crdt_keys);
|
||||
|
||||
// Channels for internal communication, and a tokio task for stdin input
|
||||
@@ -47,7 +48,7 @@ async fn setup(_: &str) -> SideNode {
|
||||
let node = SideNode::new(
|
||||
crdt,
|
||||
bft_crdt_keys,
|
||||
bitcoin_keys,
|
||||
bitcoin_wallet,
|
||||
incoming_receiver,
|
||||
stdin_receiver,
|
||||
handle,
|
||||
|
||||
Reference in New Issue
Block a user