| 486 | } |
| 487 | |
| 488 | bool amount_msat_greater_sat(struct amount_msat msat, struct amount_sat sat) |
| 489 | { |
| 490 | struct amount_msat msat_from_sat; |
| 491 | |
| 492 | if (!amount_sat_to_msat(&msat_from_sat, sat)) |
| 493 | return false; |
| 494 | return msat.millisatoshis > msat_from_sat.millisatoshis; |
| 495 | } |
| 496 | |
| 497 | bool amount_msat_greater_eq_sat(struct amount_msat msat, struct amount_sat sat) |
| 498 | { |
no test coverage detected