Skip to content

Commit 92b660b

Browse files
committed
was introduced by IntersectMBO/cardano-node#4886 readScriptDataOrFile was reverted to read ScriptData json with the detailed schema format (ScriptDataJsonDetailedSchema)
1 parent 764e3c3 commit 92b660b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Cardano/CLI/Shelley/Run/Read.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ readScriptDataOrFile (ScriptDataJsonFile fp) = do
366366
sDataValue <- hoistEither . first (ScriptDataErrorJsonParse fp) $ Aeson.eitherDecode sDataBs
367367
hoistEither
368368
. first ScriptDataErrorJsonBytes
369-
$ scriptDataJsonToHashable ScriptDataJsonNoSchema sDataValue
369+
$ scriptDataJsonToHashable ScriptDataJsonDetailedSchema sDataValue
370370

371371
readScriptDataOrFile (ScriptDataCborFile fp) = do
372372
origBs <- handleIOExceptT (ScriptDataErrorFile . FileIOError fp) (BS.readFile fp)

0 commit comments

Comments
 (0)