Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common/amount: round tiny msat amount to 0sat
This parses < 1000msat amounts as being 0sat instead of failing. Otherwise bcli would fail on 0-value outputs (happens on testnet for transaction eca4cefef2a98de5df67a6630c63af5a72ab57583e0f3bf066d976f28213f447) as parse_amount_sat() expected the amount to end with 000msat.
- Loading branch information