Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ Amount
Class
Amount
cln-rpc/src/primitives.rs:172–174 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
170
171
#[derive(Copy, Clone, Debug, PartialEq)]
172
pub struct Amount {
173
msat: u64,
174
}
175
176
impl Amount {
177
pub fn from_msat(msat: u64) -> Amount {
Callers
6
from
Method · 0.85
deserialize
Method · 0.85
test_amount_all_any
Function · 0.85
on_lsps_lsps2_invoice
Function · 0.85
fund_jit_channel
Method · 0.85
fund_jit_channel
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_amount_all_any
Function · 0.68