Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jsonrpc: Remove the old "_msat" prefix in the listpeerchannels command
This is a regression that we introduced in this release due to some dirty parts of our codebase. For historical reasons (I think), we were using a `json_add_sat_only` procedure defined in `peer_control.c`. So when @rustyrussell removed the _msat, we thought that all the fields were reflecting the new behavior, but we were wrong. This PR fixes this bug and also removes the additional function from `peer_control.c`. This way, we can be sure that there is no other part of our codebase that uses this method (except for other `json_add` methods). Link: #6244 Reported-by: @hMsats Signed-off-by: Vincenzo Palazzo <[email protected]>
- Loading branch information