File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -874,7 +874,6 @@ pub fn find_script(
874
874
. ok_or ( Error :: MissingScriptForRedeemer )
875
875
. and_then ( |cert| match cert {
876
876
Certificate :: StakeDeregistration ( stake_credential)
877
- | Certificate :: StakeRegistration ( stake_credential)
878
877
| Certificate :: Reg ( stake_credential, _)
879
878
| Certificate :: UnReg ( stake_credential, _)
880
879
| Certificate :: VoteDeleg ( stake_credential, _)
@@ -891,9 +890,9 @@ pub fn find_script(
891
890
StakeCredential :: ScriptHash ( hash) => Ok ( hash) ,
892
891
_ => Err ( Error :: NonScriptStakeCredential ) ,
893
892
} ,
894
- Certificate :: PoolRetirement { .. } | Certificate :: PoolRegistration { .. } => {
895
- Err ( Error :: UnsupportedCertificateType )
896
- }
893
+ Certificate :: StakeRegistration { .. }
894
+ | Certificate :: PoolRetirement { .. }
895
+ | Certificate :: PoolRegistration { .. } => Err ( Error :: UnsupportedCertificateType ) ,
897
896
} )
898
897
. and_then ( lookup_script) ,
899
898
You can’t perform that action at this time.
0 commit comments