Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 6, 2024
1 parent 8bf6788 commit a8cb760
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 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 @@ -95,10 +95,10 @@ electrum = ["electrum-client", "bitcoin"]
serde = ["serde_crate", "serde_with", "serde_yaml", "bp-std/serde", "bp-wallet/serde", "descriptors/serde", "rgb-psbt/serde"]

[package.metadata.docs.rs]
features = [ "all" ]
features = ["all"]

[patch.crates-io]
bp-util = { git = "https://github.com/BP-WG/bp-wallet", 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-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "canary" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "master" }
2 changes: 1 addition & 1 deletion cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ impl Exec for RgbArgs {
"no known interface implementation for {iface_name}"
))
})?;
let types = &schema.type_system;
let types = &schema.types;

let mut builder = ContractBuilder::with(
iface.clone(),
Expand Down
Binary file removed examples/transfer.psbt
Binary file not shown.
Binary file removed examples/transfer.rgb
Binary file not shown.
2 changes: 1 addition & 1 deletion psbt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl RgbPsbt for Psbt {
let mut inputs = info.inputs.into_inner();
for input in self.inputs_mut() {
let outpoint = input.prevout().outpoint();
if let Some(pos) = inputs.iter().position(|i| i == &XChain::Bitcoin(outpoint)) {
if let Some(pos) = inputs.iter().position(|i| **i == XChain::Bitcoin(outpoint)) {
inputs.remove(pos);
input
.set_rgb_consumer(contract_id, info.id)
Expand Down
2 changes: 1 addition & 1 deletion src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl<D: DescriptorRgb<K>, K> OutpointFilter for Runtime<D, K> {
let output = output.into();
self.wallet()
.coins()
.any(|utxo| XChain::Bitcoin(utxo.outpoint) == output)
.any(|utxo| XChain::Bitcoin(utxo.outpoint) == *output)
}
}

Expand Down

0 comments on commit a8cb760

Please sign in to comment.