Getting rid of unused field warning

This commit is contained in:
Dave Hrycyszyn
2024-07-15 14:56:34 +01:00
parent e1a48c3fca
commit a3ee17119d

View File

@@ -8,7 +8,7 @@ use crate::{bft_crdt::websocket::Client, bft_crdt::TransactionList, utils};
pub struct SideNode {
crdt: BaseCrdt<TransactionList>,
bft_crdt_keys: fastcrypto::ed25519::Ed25519KeyPair,
bitcoin_wallet: bdk::Wallet<MemoryDatabase>,
_bitcoin_wallet: bdk::Wallet<MemoryDatabase>, // currently not read anywhere
incoming_receiver: mpsc::Receiver<SignedOp>,
stdin_receiver: std::sync::mpsc::Receiver<String>,
handle: ezsockets::Client<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,