mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
Makefile: check for direct amount_sat/amount_msat access.
We need to do it in various places, but we shouldn't do it lightly: the primitives are there to help us get overflow handling correct. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -29,7 +29,7 @@ void push_le64(u64 v,
|
||||
void push_amount_sat(struct amount_sat v,
|
||||
void (*push)(const void *, size_t, void *), void *pushp)
|
||||
{
|
||||
push_le64(v.satoshis, push, pushp);
|
||||
push_le64(v.satoshis, push, pushp); /* Raw: low-level helper */
|
||||
}
|
||||
|
||||
void push_varint_blob(const tal_t *blob,
|
||||
|
||||
Reference in New Issue
Block a user