From 105dcdca867f463f1dac8eff92803e01a7f9f1b2 Mon Sep 17 00:00:00 2001 From: Rob N Date: Mon, 9 Sep 2024 08:40:49 -1000 Subject: [PATCH] lib: bump `kyoto` --- Cargo.toml | 2 +- src/lib.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9463a4a..b7b53a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] bdk_chain = { version = "0.18.0" } -kyoto-cbf = { git = "https://github.com/rustaceanrob/kyoto", rev = "71e3c57063549a6b63f403a5f7f8428f806f3deb" } +kyoto-cbf = { git = "https://github.com/rustaceanrob/kyoto", rev = "d9ab1ce3fdfee863f152fe145596b7f93171b5aa" } tracing = { version = "0.1", optional = true } tracing-subscriber = { version = "0.3", optional = true } diff --git a/src/lib.rs b/src/lib.rs index a64be11..bec61a4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -127,7 +127,7 @@ #![warn(missing_docs)] use core::fmt; -use std::collections::{BTreeMap, HashSet}; +use std::collections::BTreeMap; use bdk_chain::{ keychain_txout::KeychainTxOutIndex, @@ -279,8 +279,8 @@ where } /// Add more scripts to the node. Could this just check a SPK index? - pub async fn add_scripts(&self, scripts: HashSet) -> Result<(), Error> { - self.sender.add_scripts(scripts).await.map_err(Error::from) + pub async fn add_script(&self, script: impl Into) -> Result<(), Error> { + self.sender.add_script(script).await.map_err(Error::from) } /// Shutdown the node.