Skip to content

Commit

Permalink
chore: Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
paouvrard committed Jun 4, 2024
1 parent 1ab5a86 commit 6f4eed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/nep141-erc20/src/bridged-erc20/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export async function deploy (
process.env.ethNearOnEthClientAbiText!
)
if (logBlockHeight > nearOnEthClientBlockHeight) {
// @typescript-eslint/restrict-template-expressions
throw new Error(`Wait for the light client sync: NEP-141 metadata log block height: ${logBlockHeight}, light client block height: ${nearOnEthClientBlockHeight}`)
}
const proof = await findNearProof(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ export async function checkBurn (
if (!burnReceipt) return transfer

if (!burnReceipt.status) {
// @typescript-eslint/restrict-template-expressions
const error = `Transaction failed: ${burnReceipt.transactionHash}`
return {
...transfer,
Expand Down

0 comments on commit 6f4eed6

Please sign in to comment.