From a9eba169d6f0cfa804682e6753b78580a4ce6f31 Mon Sep 17 00:00:00 2001 From: emidev98 Date: Mon, 5 Feb 2024 11:17:04 +0200 Subject: [PATCH] feat: instantiate contract default to '-' instead of undefined --- src/core/wasm/msgs/MsgInstantiateContract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wasm/msgs/MsgInstantiateContract.ts b/src/core/wasm/msgs/MsgInstantiateContract.ts index 44e64bc6..445c874b 100644 --- a/src/core/wasm/msgs/MsgInstantiateContract.ts +++ b/src/core/wasm/msgs/MsgInstantiateContract.ts @@ -27,7 +27,7 @@ export class MsgInstantiateContract extends JSONSerializable< public code_id: number, public init_msg: object | string, init_coins: Coins.Input = {}, - public label?: string + public label: string = '-' ) { super(); this.init_coins = new Coins(init_coins);