Merge pull request #2230 from wydengyre/rpcclient-signet

rpcclient: signet support
This commit is contained in:
Oliver Gugger 2024-08-26 01:57:00 -06:00 committed by GitHub
commit 2b53ed1989
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1502,6 +1502,8 @@ func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error
client.chainParams = &chaincfg.TestNet3Params client.chainParams = &chaincfg.TestNet3Params
case chaincfg.RegressionNetParams.Name: case chaincfg.RegressionNetParams.Name:
client.chainParams = &chaincfg.RegressionNetParams client.chainParams = &chaincfg.RegressionNetParams
case chaincfg.SigNetParams.Name:
client.chainParams = &chaincfg.SigNetParams
case chaincfg.SimNetParams.Name: case chaincfg.SimNetParams.Name:
client.chainParams = &chaincfg.SimNetParams client.chainParams = &chaincfg.SimNetParams
default: default: