| 448 | } |
| 449 | |
| 450 | bool amount_msat_less_eq_sat(struct amount_msat msat, struct amount_sat sat) |
| 451 | { |
| 452 | struct amount_msat msat_from_sat; |
| 453 | |
| 454 | if (!amount_sat_to_msat(&msat_from_sat, sat)) |
| 455 | return false; |
| 456 | return msat.millisatoshis <= msat_from_sat.millisatoshis; |
| 457 | } |
| 458 | |
| 459 | bool amount_msat_eq_sat(struct amount_msat msat, struct amount_sat sat) |
| 460 | { |
nothing calls this directly
no test coverage detected