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

Function fromwire_amount_msat

common/amount.c:614–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614struct amount_msat fromwire_amount_msat(const u8 **cursor, size_t *max)
615{
616 struct amount_msat msat;
617
618 msat.millisatoshis = fromwire_u64(cursor, max);
619 return msat;
620}
621
622struct amount_sat fromwire_amount_sat(const u8 **cursor, size_t *max)
623{

Callers 5

fromwire_channel_configFunction · 0.70
fromwire_added_htlcFunction · 0.70
fromwire_existing_htlcFunction · 0.70
fromwire_simple_htlcFunction · 0.70
fromwire_chain_coin_mvtFunction · 0.70

Calls 1

fromwire_u64Function · 0.50

Tested by

no test coverage detected