Skip to content

Commit

Permalink
fix: remove height+1
Browse files Browse the repository at this point in the history
  • Loading branch information
seantking committed Mar 28, 2022
1 parent d42c9c0 commit fa4184f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/light-clients/07-tendermint/types/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (suite *TendermintTestSuite) TestVerifyHeader() {
bothSigners := suite.chainB.Signers
bothSigners[altVal.Address.String()] = altPrivVal

header = suite.chainB.CreateTMClientHeader(suite.chainB.ChainID, suite.chainB.CurrentHeader.Height+1, trustedHeight, suite.chainB.CurrentHeader.Time, bothValSet, suite.chainB.NextVals, trustedVals, bothSigners)
header = suite.chainB.CreateTMClientHeader(suite.chainB.ChainID, suite.chainB.CurrentHeader.Height, trustedHeight, suite.chainB.CurrentHeader.Time, bothValSet, suite.chainB.NextVals, trustedVals, bothSigners)
},
expPass: true,
},
Expand Down

0 comments on commit fa4184f

Please sign in to comment.