dont get any result from sendTransaction and it not stopping execution
export const executeTransaction = async (
accountIdForSigning: AccountId,
trans: Transaction
) => {
await hcInitPromise;
const accountIds = getConnectedAccountIds();
if (!accountIds) {
throw new Error("No connected accounts");
}
const isAccountIdForSigningPaired = accountIds.some(
(id) => id.toString() === accountIdForSigning.toString()
);
if (!isAccountIdForSigningPaired) {
throw new Error(`Account ${accountIdForSigning} is not paired`);
}
const result = await hc.sendTransaction(accountIdForSigning, trans);
return result;
};
dont get any result from sendTransaction and it not stopping execution
export const executeTransaction = async (
accountIdForSigning: AccountId,
trans: Transaction
) => {
await hcInitPromise;
};