Skip to content

Commit

Permalink
pay: use just single secret seal in payments
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Sep 2, 2024
1 parent 5dd850d commit 22a4583
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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 @@ -104,5 +104,5 @@ features = ["all"]
[patch.crates-io]
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 = "fix/262" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "fix/262" }
4 changes: 2 additions & 2 deletions src/pay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ where Self::Descr: DescriptorRgb<K>
pay2vout.method,
Outpoint::new(witness_txid, vout),
));
(vec![], vec![seal])
(None, vec![seal])

Check warning on line 311 in src/pay.rs

View check run for this annotation

Codecov / codecov/patch

src/pay.rs#L311

Added line #L311 was not covered by tests
}
Beneficiary::BlindedSeal(seal) => (vec![XChain::Bitcoin(seal)], vec![]),
Beneficiary::BlindedSeal(seal) => (Some(XChain::Bitcoin(seal)), vec![]),

Check warning on line 313 in src/pay.rs

View check run for this annotation

Codecov / codecov/patch

src/pay.rs#L313

Added line #L313 was not covered by tests
};

struct FasciaResolver {
Expand Down

0 comments on commit 22a4583

Please sign in to comment.