removed inappropiate wait; moar type checks

This commit is contained in:
hueso 2025-07-04 21:11:33 -03:00
parent 23163be99d
commit 4af059f6b7
2 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,7 @@ import {
stringToHex,
toBytes,
type Address,
type TransactionReceipt,
} from "viem";
import type { TokenEnum } from "@/model/NetworkEnum";
@ -71,7 +72,7 @@ export const releaseLock = async (
lockID: bigint,
pixTimestamp: `0x${string}`&{lenght:34},
signature: `0x${string}`
): Promise<any> => {
): Promise<TransactionReceipt> => {
const { address, abi, wallet, client, account } = await getContract();
if (!wallet) {

View File

@ -68,7 +68,6 @@ const releaseTransaction = async (params: {
loadingRelease.value = true;
const release = await releaseLock(BigInt(lockID.value), params.pixTimestamp, params.signature);
await release.wait();
await updateWalletStatus();
loadingRelease.value = false;