Skip to content

Commit

Permalink
update tip12
Browse files Browse the repository at this point in the history
  • Loading branch information
iceming123 committed Jul 26, 2021
1 parent 84836f2 commit 5355ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func (c *ChainConfig) IsTIP11(num *big.Int) bool {
}

func (c *ChainConfig) IsTIP12(num *big.Int) bool {
if c.TIP11 == nil {
if c.TIP12 == nil {
return false
}
return isForked(c.TIP12.FastNumber, num)
Expand Down

0 comments on commit 5355ec0

Please sign in to comment.