fix up code after the merge

This commit is contained in:
Callum Waters
2022-11-17 16:02:03 +01:00
parent 61c95d7c56
commit 97b34b85c9
2 changed files with 18 additions and 4 deletions
+12
View File
@@ -59,6 +59,18 @@ func (app *SyncApplication) ProcessProposal(ctx context.Context, req *abci.Reque
return app.app.ProcessProposal(ctx, req)
}
func (app *SyncApplication) ExtendVote(ctx context.Context, req *abci.RequestExtendVote) (*abci.ResponseExtendVote, error) {
app.mtx.Lock()
defer app.mtx.Unlock()
return app.app.ExtendVote(ctx, req)
}
func (app *SyncApplication) VerifyVoteExtension(ctx context.Context, req *abci.RequestVerifyVoteExtension) (*abci.ResponseVerifyVoteExtension, error) {
app.mtx.Lock()
defer app.mtx.Unlock()
return app.app.VerifyVoteExtension(ctx, req)
}
func (app *SyncApplication) FinalizeBlock(ctx context.Context, req *abci.RequestFinalizeBlock) (*abci.ResponseFinalizeBlock, error) {
app.mtx.Lock()
defer app.mtx.Unlock()