Skip to content

Commit

Permalink
fix: terminate functions
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Apr 30, 2024
1 parent ce9a447 commit 2b01757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gov/proposal_community_pool_spend.gno
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func (p ProposalCommunityPoolSpend) isValid() bool {
return false
}

return true
}

func (p ProposalCommunityPoolSpend) execute() error {
Expand Down
2 changes: 2 additions & 0 deletions router/router_dry.gno
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,6 @@ func DrySwapRoute(
}
return resultAmountIn.ToString()
}

panic("[ROUTER] router_dry.gno__DrySwapRoute() || unknown swapType")
}

0 comments on commit 2b01757

Please sign in to comment.