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

Function fromwire_penalty_base

common/penalty_base.c:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void fromwire_penalty_base(const u8 **pptr, size_t *max,
32 struct penalty_base *pbase)
33{
34 pbase->commitment_num = fromwire_u64(pptr, max);
35 fromwire_bitcoin_txid(pptr, max, &pbase->txid);
36 pbase->outnum = fromwire_u32(pptr, max);
37 pbase->amount = fromwire_amount_sat(pptr, max);
38}

Callers

nothing calls this directly

Calls 4

fromwire_bitcoin_txidFunction · 0.85
fromwire_amount_satFunction · 0.70
fromwire_u64Function · 0.50
fromwire_u32Function · 0.50

Tested by

no test coverage detected