match also on signet

This commit is contained in:
Riccardo Casatta 2021-06-01 14:15:46 +02:00
parent 0b969657cd
commit dffb753ce3
No known key found for this signature in database
GPG Key ID: FD986A969E450397

View File

@ -332,6 +332,7 @@ impl ConfigurableBlockchain for RpcBlockchain {
"main" => Network::Bitcoin,
"test" => Network::Testnet,
"regtest" => Network::Regtest,
"signet" => Network::Signet,
_ => return Err(Error::Generic("Invalid network".to_string())),
};
if network != config.network {