Skip to content

Commit

Permalink
Merge pull request #45 from rustaceanrob/bump-09-09
Browse files Browse the repository at this point in the history
lib: bump `kyoto`
  • Loading branch information
rustaceanrob authored Sep 9, 2024
2 parents 2e664ad + 105dcdc commit 81432a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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<ScriptBuf>) -> Result<(), Error> {
self.sender.add_scripts(scripts).await.map_err(Error::from)
pub async fn add_script(&self, script: impl Into<ScriptBuf>) -> Result<(), Error> {
self.sender.add_script(script).await.map_err(Error::from)
}

/// Shutdown the node.
Expand Down

0 comments on commit 81432a8

Please sign in to comment.