Release v2.2.1

This commit is contained in:
Juan Pablo Civile
2022-03-16 11:14:47 -03:00
parent 58d843ad79
commit 6425a5b0da
18 changed files with 113 additions and 89 deletions

View File

@@ -28,3 +28,8 @@ func Regtest() *Network {
func (n *Network) Name() string {
return n.network.Name
}
// ToParams returns the chaincfg.Params associated with this network (only available via Go code)
func (n *Network) ToParams() *chaincfg.Params {
return n.network
}