From dfbbbf0bcf62e71f1387820a04bba06670d2e5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Riquelme=20Guzm=C3=A1n?= Date: Thu, 5 Sep 2024 10:58:17 -0400 Subject: [PATCH] chore: last comments --- examples/bitcoin-to-evm-fungible-transfer/README.md | 2 +- examples/evm-to-bitcoin-fungible-transfer/src/transfer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bitcoin-to-evm-fungible-transfer/README.md b/examples/bitcoin-to-evm-fungible-transfer/README.md index 99908b10e..2dc96dabd 100644 --- a/examples/bitcoin-to-evm-fungible-transfer/README.md +++ b/examples/bitcoin-to-evm-fungible-transfer/README.md @@ -91,7 +91,7 @@ Take into consideration that a typical response when query the utxos of your add "block_hash": "", "block_time": 1721666904 }, - "value": 936396` + "value": 936396 } ``` diff --git a/examples/evm-to-bitcoin-fungible-transfer/src/transfer.ts b/examples/evm-to-bitcoin-fungible-transfer/src/transfer.ts index 68ed66976..d525b620d 100644 --- a/examples/evm-to-bitcoin-fungible-transfer/src/transfer.ts +++ b/examples/evm-to-bitcoin-fungible-transfer/src/transfer.ts @@ -23,7 +23,7 @@ const getTxExplorerUrl = (params: { txHash: string; chainId: number }): string = export async function erc20Transfer(): Promise { const web3Provider = new Web3HttpProvider(SEPOLIA_RPC_URL); const ethersWeb3Provider = new providers.Web3Provider(web3Provider); - const wallet = new Wallet(privateKey ?? "", ethersWeb3Provider); + const wallet = new Wallet(privateKey!, ethersWeb3Provider); const params = { source: SEPOLIA_CHAIN_ID,