File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,15 @@ impl DeserializeEmbeddedGroup for Transaction {
9696 Ok ( TransactionWitnessSet :: deserialize ( raw) ?)
9797 } ) ( ) . map_err ( |e| e. annotate ( "witness_set" ) ) ?;
9898 let is_valid = ( || -> Result < _ , DeserializeError > {
99- Ok ( match raw. cbor_type ( ) ? == CBORType :: Special {
99+ match raw. cbor_type ( ) ? == CBORType :: Special {
100100 true => {
101101 if let CBORSpecial :: Bool ( b) = raw. special ( ) ? {
102102 return Ok ( b) ;
103103 }
104104 return Err ( DeserializeFailure :: ExpectedBool . into ( ) ) ;
105105 } ,
106106 _ => return Err ( DeserializeFailure :: ExpectedBool . into ( ) )
107- } )
107+ }
108108 } ) ( ) . map_err ( |e| e. annotate ( "is_valid" ) ) ?;
109109 let auxiliary_data = ( || -> Result < _ , DeserializeError > {
110110 Ok ( match raw. cbor_type ( ) ? != CBORType :: Special {
You can’t perform that action at this time.
0 commit comments