Skip to content

Commit

Permalink
Merge pull request #224 from RGB-WG/txid
Browse files Browse the repository at this point in the history
Update to use enum-based PubWitness type from std lib
  • Loading branch information
dr-orlovsky authored Jul 25, 2024
2 parents d1bfc0d + 382a11c commit f0316a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ psbt = { git = "https://github.com/BP-WG/bp-std", branch = "master" }
bp-std = { git = "https://github.com/BP-WG/bp-std", branch = "master" }
bp-wallet = { git = "https://github.com/BP-WG/bp-wallet", branch = "master" }
rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "master" }
rgb-invoice = { git = "https://github.com/RGB-WG/rgb-std", branch = "master" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "master" }
rgb-invoice = { git = "https://github.com/RGB-WG/rgb-std", branch = "txid" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "txid" }
rgb-interfaces = { git = "https://github.com/RGB-WG/rgb-interfaces.git", branch = "master" }
2 changes: 1 addition & 1 deletion src/indexers/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl AnyResolver {
consignment
.bundles
.iter()
.filter_map(|bw| bw.pub_witness.maybe_map_ref(|w| w.tx.clone()))
.filter_map(|bw| bw.pub_witness.maybe_map_ref(|w| w.tx().cloned()))
.filter_map(|tx| match tx {
XChain::Bitcoin(tx) => Some(tx),
XChain::Liquid(_) | XChain::Other(_) => None,
Expand Down

0 comments on commit f0316a6

Please sign in to comment.