File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 45
45
//!
46
46
//! // Invoice for the "offer to be paid" flow.
47
47
//! InvoiceRequest::try_from(bytes)?
48
- //! .respond_with(payment_paths, payment_hash)?
48
+ #![ cfg_attr( feature = "std" , doc = "
49
+ .respond_with(payment_paths, payment_hash)?
50
+ " ) ]
51
+ #![ cfg_attr( not( feature = "std" ) , doc = "
52
+ .respond_with(payment_paths, payment_hash, core::time::Duration::from_secs(0))?
53
+ " ) ]
49
54
//! .relative_expiry(3600)
50
55
//! .allow_mpp()
51
56
//! .fallback_v0_p2wpkh(&wpubkey_hash)
69
74
//! // Invoice for the "offer for money" flow.
70
75
//! "lnr1qcp4256ypq"
71
76
//! .parse::<Refund>()?
72
- //! .respond_with(payment_paths, payment_hash, pubkey)?
77
+ #![ cfg_attr( feature = "std" , doc = "
78
+ .respond_with(payment_paths, payment_hash, pubkey)?
79
+ " ) ]
80
+ #![ cfg_attr( not( feature = "std" ) , doc = "
81
+ .respond_with(payment_paths, payment_hash, pubkey, core::time::Duration::from_secs(0))?
82
+ " ) ]
73
83
//! .relative_expiry(3600)
74
84
//! .allow_mpp()
75
85
//! .fallback_v0_p2wpkh(&wpubkey_hash)
You can’t perform that action at this time.
0 commit comments