Skip to content

Commit

Permalink
fix lint, remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Mar 11, 2024
1 parent 3cbd480 commit 0699413
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ import io.provenance.reward.v1.MsgClaimAllRewardsRequest
import io.provenance.reward.v1.MsgClaimRewardsRequest
import io.provenance.reward.v1.MsgCreateRewardProgramRequest
import io.provenance.reward.v1.MsgEndRewardProgramRequest
import io.provenance.exchange.v1.MsgGovCreateMarketRequest
import org.reflections.Reflections
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
Expand All @@ -160,7 +159,6 @@ import org.springframework.web.client.RestTemplate
import org.springframework.web.servlet.config.annotation.CorsRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer


@Configuration
class RestConfig {

Expand Down Expand Up @@ -361,7 +359,7 @@ fun msgDescriptors(): List<Descriptors.Descriptor> {
MsgVote.getDescriptor(),
MsgWithdrawProposal.getDescriptor(),
MsgExec.getDescriptor(),
MsgLeaveGroup.getDescriptor(),
MsgLeaveGroup.getDescriptor()
)

descriptors.addAll(findMsgDescriptorsInPackage("io.provenance.exchange.v1"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ class GovService(
GovProposalRecord.getAllPaginated(page.toOffset(count), count)
.let { list ->
runBlocking {
logger().debug("getting proposal list")
val filtered = list.filter { it.dataV1 == null }
if (filtered.isNotEmpty()) {
filtered.asFlow().collect { prop ->
Expand All @@ -438,7 +437,6 @@ class GovService(
}
}
}.map {
logger().info("mapping proposal record: $it")
mapProposalRecord(it)
}
.let {
Expand Down

0 comments on commit 0699413

Please sign in to comment.