@@ -42,9 +42,9 @@ struct App {
4242 ) ]
4343 endpoint : Endpoint ,
4444 #[ structopt( long = "identity-provider" ) ]
45- idp : PathBuf ,
45+ idp : PathBuf ,
4646 #[ structopt( long = "tps" ) ]
47- tps : u16 ,
47+ tps : u16 ,
4848}
4949
5050#[ tokio:: main( flavor = "multi_thread" ) ]
@@ -87,7 +87,7 @@ async fn main() -> anyhow::Result<()> {
8787 let created_at = YearMonth :: now ( ) ;
8888 let alist = AttributeList {
8989 valid_to : YearMonth {
90- year : created_at. year + 1 ,
90+ year : created_at. year + 1 ,
9191 month : created_at. month ,
9292 } ,
9393 created_at,
@@ -108,7 +108,7 @@ async fn main() -> anyhow::Result<()> {
108108 let data = {
109109 let mut csprng = thread_rng ( ) ;
110110 let cdata = CredentialData {
111- keys : vec ! [ (
111+ keys : vec ! [ (
112112 KeyIndex :: from( 0 ) ,
113113 common:: types:: KeyPair :: generate( & mut csprng) ,
114114 ) ]
@@ -130,9 +130,9 @@ async fn main() -> anyhow::Result<()> {
130130
131131 let pub_info_for_ip = PublicInformationForIp {
132132 id_cred_pub : ArCurve :: generate ( & mut csprng) ,
133- reg_id : cred_id,
134- vk_acc : CredentialPublicKeys {
135- keys : cdata. get_public_keys ( ) ,
133+ reg_id : cred_id,
134+ vk_acc : CredentialPublicKeys {
135+ keys : cdata. get_public_keys ( ) ,
136136 threshold : cdata. get_threshold ( ) ,
137137 } ,
138138 } ;
@@ -148,7 +148,7 @@ async fn main() -> anyhow::Result<()> {
148148 let keys = AccountKeys :: from ( cdata) ;
149149 let item = BlockItem :: < Payload > :: from ( AccountCredentialMessage {
150150 message_expiry : expiry,
151- credential : AccountCredential :: Initial { icdi } ,
151+ credential : AccountCredential :: Initial { icdi } ,
152152 } ) ;
153153 ( address, item, keys, cred_id_exponent)
154154 } ;
0 commit comments