summaryrefslogtreecommitdiff
path: root/impls/monero.rs/example/src
diff options
context:
space:
mode:
authorIm-Beast <franik.mateusz@gmail.com>2025-01-05 16:22:07 +0100
committerIm-Beast <franik.mateusz@gmail.com>2025-01-05 16:22:07 +0100
commit85249efea8f667855fb260321c68241d6a76b2a6 (patch)
tree8cef4f2fae1ed61a99f44b1ac264208bd8096615 /impls/monero.rs/example/src
parent962647f31842f4ba9b1108a0e07857c2c49d5869 (diff)
chore: cargo fmt
Diffstat (limited to 'impls/monero.rs/example/src')
-rw-r--r--impls/monero.rs/example/src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/impls/monero.rs/example/src/main.rs b/impls/monero.rs/example/src/main.rs
index 39163dc..2de8d2b 100644
--- a/impls/monero.rs/example/src/main.rs
+++ b/impls/monero.rs/example/src/main.rs
@@ -1,4 +1,4 @@
-use monero_c_rust::{NetworkType, WalletError, WalletManager, WalletConfig};
+use monero_c_rust::{NetworkType, WalletConfig, WalletError, WalletManager};
use tempfile::TempDir;
fn main() -> Result<(), WalletError> {
@@ -27,7 +27,7 @@ fn main() -> Result<(), WalletError> {
// Initialize the wallet.
let config = WalletConfig {
daemon_address: "xmr-node.cakewallet.com:18081".to_string(),
- upper_transaction_size_limit: 10000, // TODO: use sane value.
+ upper_transaction_size_limit: 0, // TODO: use sane value.
daemon_username: "".to_string(),
daemon_password: "".to_string(),
use_ssl: false,
@@ -66,7 +66,8 @@ fn main() -> Result<(), WalletError> {
// Clean up the wallet.
std::fs::remove_file(wallet_str).expect("Failed to delete test wallet");
- std::fs::remove_file(format!("{}.keys", wallet_str)).expect("Failed to delete test wallet keys");
+ std::fs::remove_file(format!("{}.keys", wallet_str))
+ .expect("Failed to delete test wallet keys");
Ok(())
}