From 22a4583485c205b696743222ad7fb55e10b2a1b7 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Mon, 2 Sep 2024 21:48:35 +0200 Subject: [PATCH] pay: use just single secret seal in payments --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- src/pay.rs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5fb2e60..3e09587 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1111,7 +1111,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -1408,7 +1408,7 @@ dependencies = [ [[package]] name = "rgb-invoice" version = "0.11.0-beta.7" -source = "git+https://github.com/RGB-WG/rgb-std?branch=master#070bfcdc8135134069080a66662ea60ba7021a96" +source = "git+https://github.com/RGB-WG/rgb-std?branch=fix/262#526c2668c41dd0386b0df2be5715cc6d70a9fa9a" dependencies = [ "amplify", "baid64", @@ -1473,7 +1473,7 @@ dependencies = [ [[package]] name = "rgb-std" version = "0.11.0-beta.7" -source = "git+https://github.com/RGB-WG/rgb-std?branch=master#070bfcdc8135134069080a66662ea60ba7021a96" +source = "git+https://github.com/RGB-WG/rgb-std?branch=fix/262#526c2668c41dd0386b0df2be5715cc6d70a9fa9a" dependencies = [ "aluvm", "amplify", diff --git a/Cargo.toml b/Cargo.toml index 0a4298c..3418c64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } diff --git a/src/pay.rs b/src/pay.rs index d2d82b6..9623c94 100644 --- a/src/pay.rs +++ b/src/pay.rs @@ -308,9 +308,9 @@ where Self::Descr: DescriptorRgb pay2vout.method, Outpoint::new(witness_txid, vout), )); - (vec![], vec![seal]) + (None, vec![seal]) } - Beneficiary::BlindedSeal(seal) => (vec![XChain::Bitcoin(seal)], vec![]), + Beneficiary::BlindedSeal(seal) => (Some(XChain::Bitcoin(seal)), vec![]), }; struct FasciaResolver {