Skip to content

Commit 769f590

Browse files
committed
Remove unused fetch in lightning_invoice tests.
1 parent 5e14c24 commit 769f590

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning-invoice/src/utils.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,6 @@ mod test {
716716
let node_chanmgrs = create_node_chanmgrs(2, &node_cfgs, &[None, None]);
717717
let nodes = create_network(2, &node_cfgs, &node_chanmgrs);
718718
let payment_hash = PaymentHash([0; 32]);
719-
let payment_secret = &nodes[1].node.create_inbound_payment_for_hash(payment_hash, Some(10_000), 3600);
720719
let invoice = crate::utils::create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(
721720
&nodes[1].node, nodes[1].keys_manager, nodes[1].logger, Currency::BitcoinTestnet,
722721
Some(10_000), "test".to_string(), Duration::from_secs(1234567), 3600,

0 commit comments

Comments
 (0)