MCPcopy Create free account
hub / github.com/ElementsProject/lightning / towire_amount_msat

Function towire_amount_msat

common/amount.c:630–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630void towire_amount_msat(u8 **pptr, const struct amount_msat msat)
631{
632 towire_u64(pptr, msat.millisatoshis);
633}
634
635void towire_amount_sat(u8 **pptr, const struct amount_sat sat)
636{

Callers 5

towire_channel_configFunction · 0.70
towire_added_htlcFunction · 0.70
towire_existing_htlcFunction · 0.70
towire_simple_htlcFunction · 0.70
towire_chain_coin_mvtFunction · 0.70

Calls 1

towire_u64Function · 0.50

Tested by

no test coverage detected