@ -34,7 +34,6 @@ type AppConnMempool interface {
CheckTxAsync ( context . Context , types . RequestCheckTx ) ( * abciclient . ReqRes , error )
CheckTx ( context . Context , types . RequestCheckTx ) ( * types . ResponseCheckTx , error )
FlushAsync ( context . Context ) ( * abciclient . ReqRes , error )
Flush ( context . Context ) error
}
@ -148,11 +147,6 @@ func (app *appConnMempool) Error() error {
return app . appConn . Error ( )
}
func ( app * appConnMempool ) FlushAsync ( ctx context . Context ) ( * abciclient . ReqRes , error ) {
defer addTimeSample ( app . metrics . MethodTiming . With ( "method" , "flush" , "type" , "async" ) ) ( )
return app . appConn . FlushAsync ( ctx )
}
func ( app * appConnMempool ) Flush ( ctx context . Context ) error {
defer addTimeSample ( app . metrics . MethodTiming . With ( "method" , "flush" , "type" , "sync" ) ) ( )
return app . appConn . Flush ( ctx )