Skip to content

Commit

Permalink
Merge pull request #87 from benthecarman/signet
Browse files Browse the repository at this point in the history
Fix Signet unsupported errors as it should be now
  • Loading branch information
johncantrell97 authored Jun 12, 2022
2 parents 75ade95 + 29c1bae commit 5c145af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion senseicore/src/event_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl EventHandler for LightningNodeEventHandler {
Network::Bitcoin => bitcoin_bech32::constants::Network::Bitcoin,
Network::Testnet => bitcoin_bech32::constants::Network::Testnet,
Network::Regtest => bitcoin_bech32::constants::Network::Regtest,
Network::Signet => panic!("Signet unsupported"),
Network::Signet => bitcoin_bech32::constants::Network::Signet,
},
)
.expect("Lightning funding tx should always be to a SegWit output")
Expand Down
2 changes: 1 addition & 1 deletion senseicore/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ impl LightningNode {
Network::Bitcoin => Currency::Bitcoin,
Network::Testnet => Currency::BitcoinTestnet,
Network::Regtest => Currency::Regtest,
Network::Signet => panic!("Signet unsupported"),
Network::Signet => Currency::Signet,
};

let invoice = utils::create_invoice_from_channelmanager(
Expand Down

0 comments on commit 5c145af

Please sign in to comment.