Skip to content

Commit

Permalink
fixed the bug and update version to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iceming123 committed Jan 5, 2023
1 parent dd56d56 commit 4fcc397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etrue/pbft_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ func (agent *PbftAgent) FetchFastBlock(committeeID *big.Int, infos []*types.Comm

// mixed signinfos after tip13
func (agent *PbftAgent) updateSnailHashForSignInfo(fastblock *types.Block) {
if agent.config.IsTIP9(fastblock.Number()) {
if agent.config.IsTIP13(fastblock.Number()) {
parent := agent.fastChain.CurrentBlock()
fastblock.SetSignInfosByPrevBlock(parent)
SnailHash := fastblock.GetSignHash()
Expand Down
2 changes: 1 addition & 1 deletion params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
const (
VersionMajor = 3 // Major version component of the current release
VersionMinor = 0 // Minor version component of the current release
VersionPatch = 0 // Patch version component of the current release
VersionPatch = 1 // Patch version component of the current release
VersionMeta = "stable" // Version metadata to append to the version string
)

Expand Down

0 comments on commit 4fcc397

Please sign in to comment.