diff --git a/Cargo.lock b/Cargo.lock index 849d236e..c601a739 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,8 +280,7 @@ dependencies = [ [[package]] name = "bp-invoice" version = "0.11.0-beta.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f051e70a99388097774781b109fc7dd4f4e9b17820be777c2655c37175981b9" +source = "git+https://github.com/BP-WG/bp-std.git?branch=master#c7b1ef4d7b9828c52606f3367f0389b78f4a2b7a" dependencies = [ "amplify", "bech32", diff --git a/Cargo.toml b/Cargo.toml index 28b26b9f..c7237f91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -98,3 +98,4 @@ features = ["all"] [patch.crates-io] rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "master" } +bp-invoice = { git = "https://github.com/BP-WG/bp-std.git", branch = "master"} diff --git a/invoice/src/invoice.rs b/invoice/src/invoice.rs index 2720d98a..22cdbf3d 100644 --- a/invoice/src/invoice.rs +++ b/invoice/src/invoice.rs @@ -155,6 +155,7 @@ impl XChainNet { match network { Network::Mainnet => Self::BitcoinMainnet(data), Network::Testnet3 => Self::BitcoinTestnet(data), + Network::Testnet4 => Self::BitcoinTestnet(data), Network::Signet => Self::BitcoinSignet(data), Network::Regtest => Self::BitcoinRegtest(data), }