From e2c963983ca63ef4e25eec6be92fef6d46d26c2b Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Wed, 24 Jul 2024 16:51:23 +0100 Subject: [PATCH] Ditched the unused run() function in the Bitcoin driver --- side-node/src/bitcoin/driver.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/side-node/src/bitcoin/driver.rs b/side-node/src/bitcoin/driver.rs index d564a97..f1ff9e8 100644 --- a/side-node/src/bitcoin/driver.rs +++ b/side-node/src/bitcoin/driver.rs @@ -2,16 +2,6 @@ use bdk_wallet::bitcoin::{Amount, Network}; use crate::bitcoin::clients; -/// Demonstrates the use of bdk with the Esplora client. -/// -/// This is more complex than the bare `bdk` crate, but the esplora client works. -/// -/// Also, it very handily works with the mutinynet.com esplora server, which is configured -/// with 30 second block times. -pub(crate) async fn run() -> Result<(), anyhow::Error> { - simple_transfer().await -} - pub(crate) async fn simple_transfer() -> Result<(), anyhow::Error> { let mut dave = clients::esplora::create_wallet("dave", Network::Signet)?; let mut sammy = clients::esplora::create_wallet("sammy", Network::Signet)?;