I payed a bolt11 invoice using legacypay. The amount encoded in the bolt11 was 499907 satoshi, however, this was outputed by the legacypay command:
"msatoshi": 501908132,
"amount_msat": "501908132msat",
"msatoshi_sent": 501914643,
"amount_sent_msat": "501914643msat",
"created_at": 1597237826,
"status": "complete",
What's happening? Is it normal?
This should probably be off by default, and only enabled as a flag when paying. You can close this ticket. If you pay a 100$ invoice, 5$ is too much as a fee.