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

Function fromwire_amount_msat

common/amount.c:762–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762struct amount_msat fromwire_amount_msat(const u8 **cursor, size_t *max)
763{
764 struct amount_msat msat;
765
766 msat.millisatoshis = fromwire_u64(cursor, max);
767 return msat;
768}
769
770struct amount_sat fromwire_amount_sat(const u8 **cursor, size_t *max)
771{

Callers 11

fromwire_channel_configFunction · 0.70
fromwire_added_htlcFunction · 0.70
fromwire_existing_htlcFunction · 0.70
fromwire_chain_coin_mvtFunction · 0.70
runFunction · 0.50
fromwire_new_stateFunction · 0.50
create_open_channel_msgFunction · 0.50
runFunction · 0.50
fromwire_onchain_feeFunction · 0.50
fromwire_opt_amount_msatFunction · 0.50
fromwire_dstore_channelFunction · 0.50

Calls 1

fromwire_u64Function · 0.50

Tested by

no test coverage detected