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

Function towire_amount_msat

common/amount.c:778–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776}
777
778void towire_amount_msat(u8 **pptr, const struct amount_msat msat)
779{
780 towire_u64(pptr, msat.millisatoshis);
781}
782
783void towire_amount_sat(u8 **pptr, const struct amount_sat sat)
784{

Callers 9

towire_channel_configFunction · 0.70
make_v0_hopFunction · 0.70
towire_added_htlcFunction · 0.70
towire_existing_htlcFunction · 0.70
towire_chain_coin_mvtFunction · 0.70
runFunction · 0.50
towire_onchain_feeFunction · 0.50
towire_opt_amount_msatFunction · 0.50
towire_dstore_channelFunction · 0.50

Calls 1

towire_u64Function · 0.50

Tested by

no test coverage detected