Skip to content

Commit

Permalink
fix: chainId used in erc721CrossChainAuthorizations (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote authored Mar 22, 2023
1 parent 960bed4 commit 2519fcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/perfect-kings-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@api3/airnode-node': patch
---

Fix chainId used in erc721CrossChainAuthorizations
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function fetchCrossChainAuthorizations(
type: 'erc721',
airnodeAddress: currentState.settings.airnodeAddress,
authorizations: currentState.settings.authorizations,
chainId: authorizer.chainId,
chainId: currentState.settings.chainId,
erc721s: authorizer.erc721s,
provider: buildEVMProvider(authorizer.chainProvider.url, authorizer.chainId),
RequesterAuthorizerWithErc721Address: authorizer.contracts.RequesterAuthorizerWithErc721,
Expand Down

0 comments on commit 2519fcb

Please sign in to comment.