Skip to content

Commit bf26f5d

Browse files
fix
1 parent 546391e commit bf26f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flare_ai_defai/blockchain/flare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def create_send_flr_tx(self, to_address: str, amount: float, user: UserInfo) ->
200200
return tx
201201

202202
def create_contract_function_tx(self, user:UserInfo, contract: Contract, function_name: str, add_to_nonce: int = 0, *args, **kwargs) -> TxParams:
203-
if not self.address:
203+
if not self.wallet_store.get_address(user):
204204
raise ValueError("Account not initialized")
205205
if not contract:
206206
raise ValueError("Contract not initialized")

0 commit comments

Comments
 (0)