From a3ee17119dd20231ffc08c2675a36c7076ec079e Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Mon, 15 Jul 2024 14:56:34 +0100 Subject: [PATCH] Getting rid of unused field warning --- side-node/src/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/side-node/src/node.rs b/side-node/src/node.rs index 9cde341..5f15105 100644 --- a/side-node/src/node.rs +++ b/side-node/src/node.rs @@ -8,7 +8,7 @@ use crate::{bft_crdt::websocket::Client, bft_crdt::TransactionList, utils}; pub struct SideNode { crdt: BaseCrdt, bft_crdt_keys: fastcrypto::ed25519::Ed25519KeyPair, - bitcoin_wallet: bdk::Wallet, + _bitcoin_wallet: bdk::Wallet, // currently not read anywhere incoming_receiver: mpsc::Receiver, stdin_receiver: std::sync::mpsc::Receiver, handle: ezsockets::Client, @@ -26,7 +26,7 @@ impl SideNode { let node = Self { crdt, bft_crdt_keys, - bitcoin_wallet, + _bitcoin_wallet: bitcoin_wallet, incoming_receiver, stdin_receiver, handle,