File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
rust/rbac-registration/src Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- //! Cardano RBAC provider trait, which are used during different stateful validation procedures.
1+ //! Cardano RBAC provider trait, which are used during different stateful validation
2+ //! procedures.
23
34use std:: future:: Future ;
45
Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ impl RegistrationChain {
5353 pub async fn new (
5454 cip509 : & Cip509 ,
5555 provider : & impl RbacChainsProvider ,
56- ) -> anyhow:: Result < Option < Self > >
57- {
56+ ) -> anyhow:: Result < Option < Self > > {
5857 let Some ( new_chain) = Self :: new_stateless ( cip509) else {
5958 return Ok ( None ) ;
6059 } ;
@@ -106,8 +105,7 @@ impl RegistrationChain {
106105 & self ,
107106 cip509 : & Cip509 ,
108107 provider : & impl RbacChainsProvider ,
109- ) -> anyhow:: Result < Option < Self > >
110- {
108+ ) -> anyhow:: Result < Option < Self > > {
111109 let Some ( new_chain) = self . update_stateless ( cip509) else {
112110 return Ok ( None ) ;
113111 } ;
You can’t perform that action at this time.
0 commit comments