File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #![ deny( missing_docs) ]
1+ #![ deny( missing_docs) ]
22
33//! A library implementing the full backend for a modern, highly usable, Bitcoin wallet focusing on
44//! maximizing security and self-custody without trading off user experience.
@@ -169,11 +169,11 @@ pub enum VssAuth {
169169#[ allow( dead_code) ]
170170pub struct VssConfig {
171171 /// The URL of the VSS.
172- vss_url : String ,
172+ pub vss_url : String ,
173173 /// The store ID for the VSS.
174- store_id : String ,
174+ pub store_id : String ,
175175 /// Authentication method for the VSS.
176- headers : VssAuth ,
176+ pub headers : VssAuth ,
177177}
178178
179179/// Configuration for wallet storage, either local SQLite or VSS.
@@ -388,6 +388,14 @@ impl PaymentInfo {
388388 } ,
389389 }
390390 }
391+
392+ pub fn instructions ( & self ) -> PaymentInstructions {
393+ self . instructions . clone ( )
394+ }
395+
396+ pub fn amount ( & self ) -> Amount {
397+ self . amount
398+ }
391399}
392400
393401/// Represents possible failures during wallet initialization.
You can’t perform that action at this time.
0 commit comments