| 421 | } |
| 422 | |
| 423 | bool amount_msat_greater_sat(struct amount_msat msat, struct amount_sat sat) |
| 424 | { |
| 425 | struct amount_msat msat_from_sat; |
| 426 | |
| 427 | if (!amount_sat_to_msat(&msat_from_sat, sat)) |
| 428 | return false; |
| 429 | return msat.millisatoshis > msat_from_sat.millisatoshis; |
| 430 | } |
| 431 | |
| 432 | bool amount_msat_greater_eq_sat(struct amount_msat msat, struct amount_sat sat) |
| 433 | { |
no test coverage detected