diff --git a/examples/evm-to-evm-fungible-transfer/src/transfer.ts b/examples/evm-to-evm-fungible-transfer/src/transfer.ts index 487ee3636..e3ffeb781 100644 --- a/examples/evm-to-evm-fungible-transfer/src/transfer.ts +++ b/examples/evm-to-evm-fungible-transfer/src/transfer.ts @@ -26,8 +26,7 @@ const getStatus = async ( return data as { status: string; explorerUrl: string }; } catch (e) { - console.log("error", e); - console.log("indexing and retrying"); + console.log("error:", e); } }; @@ -76,7 +75,7 @@ export async function erc20Transfer(): Promise { } }) .catch((e) => { - console.log(e); + console.log("error:", e); console.log("Transfer still not indexed, retrying..."); }); diff --git a/examples/evm-to-evm-generic-mesage-passing/src/transfer.ts b/examples/evm-to-evm-generic-mesage-passing/src/transfer.ts index 9367f5840..99823a0a1 100644 --- a/examples/evm-to-evm-generic-mesage-passing/src/transfer.ts +++ b/examples/evm-to-evm-generic-mesage-passing/src/transfer.ts @@ -23,8 +23,7 @@ const getStatus = async ( return data as { status: string; explorerUrl: string }; } catch (e) { - console.log("error", e); - console.log("indexing and retrying"); + console.log("error: ", e); } }; diff --git a/examples/evm-to-substrate-fungible-transfer/src/transfer.ts b/examples/evm-to-substrate-fungible-transfer/src/transfer.ts index 5c33c84fc..c9cc0684e 100644 --- a/examples/evm-to-substrate-fungible-transfer/src/transfer.ts +++ b/examples/evm-to-substrate-fungible-transfer/src/transfer.ts @@ -26,8 +26,7 @@ const getStatus = async ( return data as { status: string; explorerUrl: string }; } catch (e) { - console.log("error", e); - console.log("indexing and retrying"); + console.log("error: ", e); } }; diff --git a/examples/substrate-to-evm-fungible-transfer/src/transfer.ts b/examples/substrate-to-evm-fungible-transfer/src/transfer.ts index ac9f2fbfc..93241e24a 100644 --- a/examples/substrate-to-evm-fungible-transfer/src/transfer.ts +++ b/examples/substrate-to-evm-fungible-transfer/src/transfer.ts @@ -30,8 +30,7 @@ const getStatus = async ( return data as { status: string; explorerUrl: string }; } catch (e) { - console.log("error", e); - console.log("indexing and retrying"); + console.log("error: ", e); } }; @@ -82,7 +81,7 @@ const substrateTransfer = async (): Promise => { let dataResponse: undefined | { status: string; explorerUrl: string }; const id = setInterval(() => { - getStatus(transferTx) + getStatus(status.asInBlock.toString()) .then((data) => { if (data) { dataResponse = data;