This commit is contained in:
Callum Waters
2022-07-25 22:23:12 +02:00
parent 374dcf5aea
commit 6206c0b047
+1 -1
View File
@@ -358,7 +358,7 @@ func TestLastABCIResponses(t *testing.T) {
//create a new statestore with the responses on
stateStore = sm.NewStore(stateDB, true)
// save an additional response
err = stateStore.SaveABCIResponses(height + 1, response2)
err = stateStore.SaveABCIResponses(height+1, response2)
require.NoError(t, err)
//check to see if the response saved by calling the last response
lastResponse2, err := stateStore.LoadLastABCIResponse(height + 1)