We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e77bb commit 73763edCopy full SHA for 73763ed
lightning/src/ln/channelmanager.rs
@@ -889,11 +889,7 @@ impl Eq for PendingMPPClaimPointer {}
889
890
impl core::fmt::Debug for PendingMPPClaimPointer {
891
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> Result<(), core::fmt::Error> {
892
- let state = self.0.lock().unwrap();
893
- f.debug_struct("PendingMPPClaimPointer")
894
- .field("channels_without_preimage", &state.channels_without_preimage)
895
- .field("channels_with_preimage", &state.channels_with_preimage)
896
- .finish()
+ self.0.lock().unwrap().fmt(f)
897
}
898
899
0 commit comments