File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ci/LDKSwift/Tests/LDKSwiftTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -707,7 +707,7 @@ public class HumanObjectPeerTestInstance {
707
707
return XCTAssert ( false , " Expected .InvoicePayment, got \( paymentPurpose. getValueType ( ) ) " )
708
708
}
709
709
let invoicePayment = paymentPurpose. getValueAsInvoicePayment ( ) !
710
- let preimage = invoicePayment. getPaymentPreimage ( )
710
+ let preimage = invoicePayment. getPaymentPreimage ( ) !
711
711
let secret = invoicePayment. getPaymentSecret ( )
712
712
if self . configuration. shouldRecipientRejectPayment {
713
713
print ( " about to fail payment because shouldRecipientRejectPayment flag is set " )
@@ -830,7 +830,7 @@ public class HumanObjectPeerTestInstance {
830
830
return XCTAssert ( false , " Expected .InvoicePayment, got \( paymentPurpose. getValueType ( ) ) " )
831
831
}
832
832
let invoicePayment = paymentPurpose. getValueAsInvoicePayment ( ) !
833
- let preimage = invoicePayment. getPaymentPreimage ( )
833
+ let preimage = invoicePayment. getPaymentPreimage ( ) !
834
834
let secret = invoicePayment. getPaymentSecret ( )
835
835
peer1. channelManager. claimFunds ( paymentPreimage: preimage)
836
836
print ( " claimed payment with secret \( secret) using preimage \( preimage) " )
You can’t perform that action at this time.
0 commit comments