From c2c2f2c00dba3b7253627ddfaec37b2d015ba36b Mon Sep 17 00:00:00 2001 From: sneurlax Date: Thu, 10 Oct 2024 21:26:30 -0500 Subject: allow lib to be loaded by consumer crates and document the required placement --- impls/monero_rust/src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'impls/monero_rust/src/main.rs') diff --git a/impls/monero_rust/src/main.rs b/impls/monero_rust/src/main.rs index eb9e148..aae688b 100644 --- a/impls/monero_rust/src/main.rs +++ b/impls/monero_rust/src/main.rs @@ -1,9 +1,7 @@ -use monero_rust::{ - WalletError, WalletManager, NETWORK_TYPE_MAINNET, -}; +use monero_rust::{WalletError, WalletManager, NETWORK_TYPE_MAINNET}; fn main() -> Result<(), WalletError> { - let wallet_manager = WalletManager::new()?; + let wallet_manager = WalletManager::new(None)?; let wallet = wallet_manager.create_wallet( "wallet", -- cgit v1.2.3