Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rromanowski-figure committed Aug 18, 2023
1 parent 83becf5 commit f6d9ffb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class ProvenanceService : Provenance {

return runCatching {
action(pbClient, account, cachedOffset.getAndIncrementOffset(account.sequence))
}.getOrElse{
}.getOrElse {
cachedOffset.getAndDecrement(account.sequence)
throw it
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ import io.provenance.api.domain.usecase.cee.submit.models.SubmitContractBatchExe
import io.provenance.api.domain.usecase.cee.submit.models.SubmitContractExecutionResultRequestWrapper
import io.provenance.api.frameworks.web.misc.foldToServerResponse
import io.provenance.api.frameworks.web.misc.getEntity
import mu.KotlinLogging
import org.springframework.stereotype.Component
import org.springframework.web.reactive.function.server.ServerRequest
import org.springframework.web.reactive.function.server.ServerResponse
import org.springframework.web.reactive.function.server.awaitBody

private val log = KotlinLogging.logger("CeeHandler")

@Component
class CeeHandler(
private val executeContract: ExecuteContract,
Expand Down

0 comments on commit f6d9ffb

Please sign in to comment.