From 165ba7f6501fc02f30f0299d4021336954773d39 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Sat, 13 Apr 2024 16:37:50 +0200 Subject: [PATCH] meta: fix compilation and warnings Signed-off-by: Vincenzo Palazzo --- rgb-cln/src/plugin/walletrpc.rs | 4 ++-- rgb-common/src/internal_wallet.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rgb-cln/src/plugin/walletrpc.rs b/rgb-cln/src/plugin/walletrpc.rs index 0da4f0a..e7ce164 100644 --- a/rgb-cln/src/plugin/walletrpc.rs +++ b/rgb-cln/src/plugin/walletrpc.rs @@ -12,10 +12,10 @@ use clightningrpc_plugin::error; use clightningrpc_plugin::errors::PluginError; use clightningrpc_plugin::plugin::Plugin; -use rgb_common::bitcoin::psbt::Psbt; + use rgb_common::bitcoin30; use rgb_common::core::ContractId; -use rgb_common::lib::wallet::Balance; + use rgb_common::types::RgbInfo; use crate::plugin::State; diff --git a/rgb-common/src/internal_wallet.rs b/rgb-common/src/internal_wallet.rs index c010726..4df8af0 100644 --- a/rgb-common/src/internal_wallet.rs +++ b/rgb-common/src/internal_wallet.rs @@ -1,4 +1,5 @@ //! RGB Wallet mock +use std::collections::HashMap; use std::path::PathBuf; use std::str::FromStr; use std::sync::{Arc, Mutex};