Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Jul 10, 2024
1 parent 413a840 commit 97d8f7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class NotificationService(
val currentHeight = blockService.getLatestBlockHeightIndexOrFromChain()

val upgrades = GovProposalRecord.findByProposalType(govService.getUpgradeProtoType())
.filter { it.status == Gov.ProposalStatus.PROPOSAL_STATUS_PASSED.name && it.getUpgradePlan() != null}
.filter { it.status == Gov.ProposalStatus.PROPOSAL_STATUS_PASSED.name && it.getUpgradePlan() != null }
.filter { proposal ->
val name = proposal.getUpgradePlan()!!.name
govClient.getIfUpgradeApplied(name).height == 0L &&
Expand Down

0 comments on commit 97d8f7c

Please sign in to comment.