Made the wallet's Network configurable
This commit is contained in:
@@ -11,7 +11,7 @@ use crate::bitcoin::clients;
|
||||
/// 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> {
|
||||
let mut dave = clients::esplora::create_wallet("dave")?;
|
||||
let mut dave = clients::esplora::create_wallet("dave", Network::Signet)?;
|
||||
|
||||
let _next_address = dave.next_unused_address()?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user