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

Method add

cln-rpc/src/primitives.rs:199–203  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

197 type Output = Amount;
198
199 fn add(self, rhs: Self) -> Self::Output {
200 Amount {
201 msat: self.msat + rhs.msat,
202 }
203 }
204}
205
206impl std::ops::Sub for Amount {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected