mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-27 10:32:44 +00:00
Update Diffs to Changes, fix README
This commit is contained in:
@@ -188,7 +188,7 @@ func makeApplyBlock(t *testing.T, dummy types.Application, heightInt int, diff [
|
||||
resEndBlock := dummy.EndBlock(types.RequestEndBlock{header.Height})
|
||||
dummy.Commit()
|
||||
|
||||
valsEqual(t, diff, resEndBlock.Diffs)
|
||||
valsEqual(t, diff, resEndBlock.Changes)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ func (app *PersistentDummyApplication) BeginBlock(req types.RequestBeginBlock) t
|
||||
|
||||
// Update the validator set
|
||||
func (app *PersistentDummyApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock {
|
||||
return types.ResponseEndBlock{Diffs: app.changes}
|
||||
return types.ResponseEndBlock{Changes: app.changes}
|
||||
}
|
||||
|
||||
//---------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user