Fix vertcoin parser after upgrade of backend to v22.1
This commit is contained in:
parent
25950dbc98
commit
f6d816f2c0
@ -35,12 +35,12 @@ func init() {
|
|||||||
|
|
||||||
// VertcoinParser handle
|
// VertcoinParser handle
|
||||||
type VertcoinParser struct {
|
type VertcoinParser struct {
|
||||||
*btc.BitcoinLikeParser
|
*btc.BitcoinParser
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewVertcoinParser returns new VertcoinParser instance
|
// NewVertcoinParser returns new VertcoinParser instance
|
||||||
func NewVertcoinParser(params *chaincfg.Params, c *btc.Configuration) *VertcoinParser {
|
func NewVertcoinParser(params *chaincfg.Params, c *btc.Configuration) *VertcoinParser {
|
||||||
p := &VertcoinParser{BitcoinLikeParser: btc.NewBitcoinLikeParser(params, c)}
|
p := &VertcoinParser{BitcoinParser: btc.NewBitcoinParser(params, c)}
|
||||||
p.VSizeSupport = true
|
p.VSizeSupport = true
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user