go-nitro
go-nitro copied to clipboard
Make 402 response message a JSON object and parse in the client
Ideally we wouldn't have to hardcode the units into the payment proxy error. Maybe it could return a JSON error that we could parse out in the client?
Originally posted by @lalexgap in https://github.com/statechannels/go-nitro/pull/1783#discussion_r1333309132