@@ -383,35 +383,35 @@ impl<'a> InvoiceBuilder<'a, DerivedSigningPubkey> {
383
383
384
384
impl < ' a , S : SigningPubkeyStrategy > InvoiceBuilder < ' a , S > {
385
385
invoice_builder_methods ! ( self , Self , Self , self , S , mut ) ;
386
- invoice_builder_methods_common ! ( self , Self , self . invoice. fields_mut( ) , Self , self , S , mut ) ;
386
+ invoice_builder_methods_common ! ( self , Self , self . invoice. fields_mut( ) , Self , self , S , Bolt12Invoice , mut ) ;
387
387
}
388
388
389
389
#[ cfg( all( c_bindings, not( test) ) ) ]
390
390
impl < ' a > InvoiceWithExplicitSigningPubkeyBuilder < ' a > {
391
391
invoice_explicit_signing_pubkey_builder_methods ! ( self , & mut Self ) ;
392
392
invoice_builder_methods ! ( self , & mut Self , ( ) , ( ) , ExplicitSigningPubkey ) ;
393
- invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , ( ) , ( ) , ExplicitSigningPubkey ) ;
393
+ invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , ( ) , ( ) , ExplicitSigningPubkey , Bolt12Invoice ) ;
394
394
}
395
395
396
396
#[ cfg( all( c_bindings, test) ) ]
397
397
impl < ' a > InvoiceWithExplicitSigningPubkeyBuilder < ' a > {
398
398
invoice_explicit_signing_pubkey_builder_methods ! ( self , & mut Self ) ;
399
399
invoice_builder_methods ! ( self , & mut Self , & mut Self , self , ExplicitSigningPubkey ) ;
400
- invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , & mut Self , self , ExplicitSigningPubkey ) ;
400
+ invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , & mut Self , self , ExplicitSigningPubkey , Bolt12Invoice ) ;
401
401
}
402
402
403
403
#[ cfg( all( c_bindings, not( test) ) ) ]
404
404
impl < ' a > InvoiceWithDerivedSigningPubkeyBuilder < ' a > {
405
405
invoice_derived_signing_pubkey_builder_methods ! ( self , & mut Self ) ;
406
406
invoice_builder_methods ! ( self , & mut Self , ( ) , ( ) , DerivedSigningPubkey ) ;
407
- invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , ( ) , ( ) , DerivedSigningPubkey ) ;
407
+ invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , ( ) , ( ) , DerivedSigningPubkey , Bolt12Invoice ) ;
408
408
}
409
409
410
410
#[ cfg( all( c_bindings, test) ) ]
411
411
impl < ' a > InvoiceWithDerivedSigningPubkeyBuilder < ' a > {
412
412
invoice_derived_signing_pubkey_builder_methods ! ( self , & mut Self ) ;
413
413
invoice_builder_methods ! ( self , & mut Self , & mut Self , self , DerivedSigningPubkey ) ;
414
- invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , & mut Self , self , DerivedSigningPubkey ) ;
414
+ invoice_builder_methods_common ! ( self , & mut Self , self . invoice. fields_mut( ) , & mut Self , self , DerivedSigningPubkey , Bolt12Invoice ) ;
415
415
}
416
416
417
417
#[ cfg( c_bindings) ]
@@ -752,12 +752,12 @@ macro_rules! invoice_accessors { ($self: ident, $contents: expr) => {
752
752
} }
753
753
754
754
impl UnsignedBolt12Invoice {
755
- invoice_accessors_common ! ( self , self . contents) ;
755
+ invoice_accessors_common ! ( self , self . contents, Bolt12Invoice ) ;
756
756
invoice_accessors ! ( self , self . contents) ;
757
757
}
758
758
759
759
impl Bolt12Invoice {
760
- invoice_accessors_common ! ( self , self . contents) ;
760
+ invoice_accessors_common ! ( self , self . contents, Bolt12Invoice ) ;
761
761
invoice_accessors ! ( self , self . contents) ;
762
762
763
763
/// Signature of the invoice verified using [`Bolt12Invoice::signing_pubkey`].
0 commit comments