Skip to content

Commit 9935a6f

Browse files
committed
f - drop explicit type from build_and_sign calls
1 parent a1831ee commit 9935a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/offers/invoice.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ mod tests {
18021802
if let Err(e) = invoice_request.clone()
18031803
.verify(&expanded_key, &secp_ctx).unwrap()
18041804
.respond_using_derived_keys_no_std(payment_paths(), payment_hash(), now()).unwrap()
1805-
.build_and_sign::<secp256k1::All>(&secp_ctx)
1805+
.build_and_sign(&secp_ctx)
18061806
{
18071807
panic!("error building invoice: {:?}", e);
18081808
}
@@ -1843,7 +1843,7 @@ mod tests {
18431843
payment_paths(), payment_hash(), now(), &expanded_key, &entropy
18441844
)
18451845
.unwrap()
1846-
.build_and_sign::<secp256k1::All>(&secp_ctx)
1846+
.build_and_sign(&secp_ctx)
18471847
{
18481848
panic!("error building invoice: {:?}", e);
18491849
}

0 commit comments

Comments
 (0)