diff --git a/components/forms/CreateTxForm/MsgForm/MsgInstantiateContract2Form.tsx b/components/forms/CreateTxForm/MsgForm/MsgInstantiateContract2Form.tsx index 56951e8..900dc58 100644 --- a/components/forms/CreateTxForm/MsgForm/MsgInstantiateContract2Form.tsx +++ b/components/forms/CreateTxForm/MsgForm/MsgInstantiateContract2Form.tsx @@ -81,6 +81,10 @@ const MsgInstantiateContract2Form = ({ } try { + if (!salt) { + throw new Error("Salt is required"); + } + fromHex(salt); } catch (e) { setSaltError(e instanceof Error ? e.message : "Salt needs to be an hexadecimal string");