Skip to content

Commit 2b01757

Browse files
committed
fix: terminate functions
1 parent ce9a447 commit 2b01757

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

gov/proposal_community_pool_spend.gno

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func (p ProposalCommunityPoolSpend) isValid() bool {
2727
return false
2828
}
2929

30+
return true
3031
}
3132

3233
func (p ProposalCommunityPoolSpend) execute() error {

router/router_dry.gno

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,6 @@ func DrySwapRoute(
112112
}
113113
return resultAmountIn.ToString()
114114
}
115+
116+
panic("[ROUTER] router_dry.gno__DrySwapRoute() || unknown swapType")
115117
}

0 commit comments

Comments
 (0)