Skip to content

Commit 3c9ef50

Browse files
Use new invalid input macro
Co-authored-by: Andrei <92177534+andrei-21@users.noreply.github.com>
1 parent 9d6b85c commit 3c9ef50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ impl LightningNode {
901901
{
902902
self.payment_from_created_invoice(&invoice)
903903
} else {
904-
return Err(invalid_input("No payment with provided hash was found"));
904+
invalid_input!("No payment with provided hash was found");
905905
}
906906
}
907907

0 commit comments

Comments
 (0)