@@ -2199,8 +2199,8 @@ mod tests {
2199
2199
let invoice_payer = InvoicePayer :: new ( nodes[ 0 ] . node , router, nodes[ 0 ] . logger , event_handler, Retry :: Attempts ( 1 ) ) ;
2200
2200
2201
2201
assert ! ( invoice_payer. pay_invoice( & create_invoice_from_channelmanager_and_duration_since_epoch(
2202
- & nodes[ 1 ] . node, nodes[ 1 ] . keys_manager, Currency :: Bitcoin , Some ( 100_010_000 ) , "Invoice" . to_string ( ) ,
2203
- duration_since_epoch( ) , 3600 ) . unwrap( ) )
2202
+ & nodes[ 1 ] . node, nodes[ 1 ] . keys_manager, nodes [ 1 ] . logger , Currency :: Bitcoin ,
2203
+ Some ( 100_010_000 ) , "Invoice" . to_string ( ) , duration_since_epoch( ) , 3600 ) . unwrap( ) )
2204
2204
. is_ok( ) ) ;
2205
2205
let htlc_msgs = nodes[ 0 ] . node . get_and_clear_pending_msg_events ( ) ;
2206
2206
assert_eq ! ( htlc_msgs. len( ) , 2 ) ;
@@ -2244,8 +2244,8 @@ mod tests {
2244
2244
let invoice_payer = InvoicePayer :: new ( nodes[ 0 ] . node , router, nodes[ 0 ] . logger , event_handler, Retry :: Attempts ( 1 ) ) ;
2245
2245
2246
2246
assert ! ( invoice_payer. pay_invoice( & create_invoice_from_channelmanager_and_duration_since_epoch(
2247
- & nodes[ 1 ] . node, nodes[ 1 ] . keys_manager, Currency :: Bitcoin , Some ( 100_010_000 ) , "Invoice" . to_string ( ) ,
2248
- duration_since_epoch( ) , 3600 ) . unwrap( ) )
2247
+ & nodes[ 1 ] . node, nodes[ 1 ] . keys_manager, nodes [ 1 ] . logger , Currency :: Bitcoin ,
2248
+ Some ( 100_010_000 ) , "Invoice" . to_string ( ) , duration_since_epoch( ) , 3600 ) . unwrap( ) )
2249
2249
. is_ok( ) ) ;
2250
2250
let htlc_msgs = nodes[ 0 ] . node . get_and_clear_pending_msg_events ( ) ;
2251
2251
assert_eq ! ( htlc_msgs. len( ) , 2 ) ;
@@ -2325,8 +2325,8 @@ mod tests {
2325
2325
let invoice_payer = InvoicePayer :: new ( nodes[ 0 ] . node , router, nodes[ 0 ] . logger , event_handler, Retry :: Attempts ( 1 ) ) ;
2326
2326
2327
2327
assert ! ( invoice_payer. pay_invoice( & create_invoice_from_channelmanager_and_duration_since_epoch(
2328
- & nodes[ 1 ] . node, nodes[ 1 ] . keys_manager, Currency :: Bitcoin , Some ( 100_010_000 ) , "Invoice" . to_string ( ) ,
2329
- duration_since_epoch( ) , 3600 ) . unwrap( ) )
2328
+ & nodes[ 1 ] . node, nodes[ 1 ] . keys_manager, nodes [ 1 ] . logger , Currency :: Bitcoin ,
2329
+ Some ( 100_010_000 ) , "Invoice" . to_string ( ) , duration_since_epoch( ) , 3600 ) . unwrap( ) )
2330
2330
. is_ok( ) ) ;
2331
2331
let htlc_updates = SendEvent :: from_node ( & nodes[ 0 ] ) ;
2332
2332
check_added_monitors ! ( nodes[ 0 ] , 1 ) ;
0 commit comments