match also on signet

This commit is contained in:
Riccardo Casatta committed 2021-06-03 10:56:00 +02:00
1 parent 0b969657cd
commit dffb753ce3
1 file changed
+1
+1
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 {