Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_amount_msat
Function
towire_amount_msat
common/amount.c:630–633 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
628
}
629
630
void towire_amount_msat(u8 **pptr, const struct amount_msat msat)
631
{
632
towire_u64(pptr, msat.millisatoshis);
633
}
634
635
void towire_amount_sat(u8 **pptr, const struct amount_sat sat)
636
{
Callers
5
towire_channel_config
Function · 0.70
towire_added_htlc
Function · 0.70
towire_existing_htlc
Function · 0.70
towire_simple_htlc
Function · 0.70
towire_chain_coin_mvt
Function · 0.70
Calls
1
towire_u64
Function · 0.50
Tested by
no test coverage detected