Skip to content

Commit 5912111

Browse files
committed
update js.flow
1 parent 4840584 commit 5912111

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rust/pkg/cardano_serialization_lib.js.flow

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5012,6 +5012,10 @@ declare export class PlutusScriptSource {
50125012
static new(script: PlutusScript): PlutusScriptSource;
50135013

50145014
/**
5015+
* !!! DEPRECATED !!!
5016+
* This constructor has missed information about plutus script language vesrion. That can affect
5017+
* the script data hash calculation.
5018+
* Use `.new_ref_input_with_lang_ver` instead
50155019
* @param {ScriptHash} script_hash
50165020
* @param {TransactionInput} input
50175021
* @returns {PlutusScriptSource}

0 commit comments

Comments
 (0)