nostr-rs-relay icon indicating copy to clipboard operation
nostr-rs-relay copied to clipboard

Wrong payment information in relay details

Open mroxso opened this issue 1 year ago • 2 comments

It seems like there is a bug in the payment calculation (not the real calculation, but the information about the relay calculation). Example:

  1. I set up a relay and users need to pay 1k sats.
  2. I add the relay to my profile on Amethyst and then I take a look at the relay information. There is 1 sat displayed as payment
  3. I can also verify this issue in noStrudel.ninja when clicking on the relay.

The payment information seems off. However the calculation of the actual payment seems to work fine.

mroxso avatar Oct 31 '23 08:10 mroxso

looks like sats vs msats causing me problems once again. There is a unit field in the response but maybe clients don't use it. Easy enough fix to return the response in msats #169

thesimplekid avatar Oct 31 '23 21:10 thesimplekid

Closed by: 5e45bf70c3d7900f3b0963c2f9ea402442ab8552

thesimplekid avatar Nov 12 '23 21:11 thesimplekid