mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 16:44:20 +01:00
chore: adds missing WARN_UNUSED to amount_msat_from_sat_u64
This commit is contained in:
committed by
neil saitug
parent
c84cade270
commit
2011bcb397
@@ -104,7 +104,7 @@ WARN_UNUSED_RESULT bool amount_msat_to_u32(struct amount_msat msat,
|
||||
|
||||
/* Programatically initialize from various types */
|
||||
void amount_msat_from_u64(struct amount_msat *msat, u64 millisatoshis);
|
||||
void amount_msat_from_sat_u64(struct amount_msat *msat, u64 satoshis);
|
||||
WARN_UNUSED_RESULT bool amount_msat_from_sat_u64(struct amount_msat *msat, u64 satoshis);
|
||||
|
||||
/* Common operation: what is the HTLC fee for given feerate? Can overflow! */
|
||||
WARN_UNUSED_RESULT bool amount_msat_fee(struct amount_msat *fee,
|
||||
|
||||
Reference in New Issue
Block a user