Skip to content

Commit 5279b02

Browse files
WIP
1 parent 6d5bb7a commit 5279b02

File tree

5 files changed

+255
-241
lines changed

5 files changed

+255
-241
lines changed

lightning-liquidity/src/lsps0/ser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl LSPSDateTime {
241241
}
242242

243243
/// Returns the time in seconds since the unix epoch.
244-
pub fn abs_diff(&self, other: Self) -> u64 {
244+
pub fn abs_diff(&self, other: &Self) -> u64 {
245245
self.0.timestamp().abs_diff(other.0.timestamp())
246246
}
247247

0 commit comments

Comments
 (0)