From 4fcc397231f3f0f8f857d79adb74a2c3b0764967 Mon Sep 17 00:00:00 2001 From: iceming123 <> Date: Thu, 5 Jan 2023 17:03:02 +0800 Subject: [PATCH] fixed the bug and update version to 3.0.1 --- etrue/pbft_agent.go | 2 +- params/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etrue/pbft_agent.go b/etrue/pbft_agent.go index 31a70e80..a8a74378 100644 --- a/etrue/pbft_agent.go +++ b/etrue/pbft_agent.go @@ -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() diff --git a/params/version.go b/params/version.go index d3f96561..5b1c518d 100644 --- a/params/version.go +++ b/params/version.go @@ -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 )