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

Function fromwire_amount_sat

common/amount.c:622–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622struct amount_sat fromwire_amount_sat(const u8 **cursor, size_t *max)
623{
624 struct amount_sat sat;
625
626 sat.satoshis = fromwire_u64(cursor, max);
627 return sat;
628}
629
630void towire_amount_msat(u8 **pptr, const struct amount_msat msat)
631{

Callers 7

fromwire_utxoFunction · 0.70
fromwire_penalty_baseFunction · 0.70
fromwire_channel_configFunction · 0.70
fromwire_chain_coin_mvtFunction · 0.70
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50

Calls 1

fromwire_u64Function · 0.50

Tested by

no test coverage detected