Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug: correctly handle denoms with
/
in pcli tx lp (#4766)
The parsing looked for the first occurrence of the slash for nX@nY/fee but if X or Y contains a slash, this will be incorrect. This fixes this somewhat, by looking for the last slash, and only considering that a fee if it ends with bps. This will not correctly handle a denom containing both a slash and ending with bps, but beyond that we'll need to change the format probably. ## Issue ticket number and link ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > client side change only, for pcli
- Loading branch information