You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let signed_raw_invoice:Result<SignedRawInvoice,SemanticError> = raw_invoice.sign(|_| Ok(signature));
1395
+
Invoice::from_signed(signed_raw_invoice.unwrap())
1374
1396
}
1375
1397
1376
1398
}
@@ -1700,7 +1722,7 @@ mod test {
1700
1722
let node_chanmgrs = create_node_chanmgrs(2,&node_cfgs,&[None,None]);
1701
1723
let nodes = create_network(2,&node_cfgs,&node_chanmgrs);
1702
1724
let _chan = create_announced_chan_between_nodes(&nodes,0,1,InitFeatures::known(),InitFeatures::known());
1703
-
let invoice = ::utils::create_invoice_from_channelmanager(&nodes[1].node,Some(10_000),"test".to_string(),Currency::BitcoinTestnet).unwrap();
1725
+
let invoice = ::utils::create_invoice_from_channelmanager(&nodes[1].node,Some(10_000),"test".to_string(),Currency::BitcoinTestnet, nodes[1].keys_manager).unwrap();
0 commit comments