Skip to content

Commit

Permalink
evm contract changes
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Aug 9, 2024
1 parent feb9214 commit 8f35f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const prodBridgeConfig: IBridgeConfig = {
rpcURL: "https://bsc.blockpi.network/v1/rpc/public",
nativeCoinSymbol: "BNB",
intialFund: "50000000000000000",
contractAddress: "0xE0ea24108ec2754467D2c1D9320Cb6A16276478f",
contractAddress: "0x289FDdDce5119C41B82C969135212061D5E7Dce5",
chainType: "evm",
lastBlock: 41188324,
decimals: 18,
Expand All @@ -126,7 +126,7 @@ export const prodBridgeConfig: IBridgeConfig = {
rpcURL: "https://polygon-pokt.nodies.app",
nativeCoinSymbol: "MATIC",
intialFund: "50000000000000000",
contractAddress: "0x5055E15963504374d989CebC2707f5E46Efb3BDC",
contractAddress: "0x2011DAD5caE280243d075D12a38CcCc0Fb4412dE",
chainType: "evm",
lastBlock: 59709068,
decimals: 18,
Expand Down
2 changes: 1 addition & 1 deletion src/handler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export async function listenEvents(
return tx;
} catch (err) {
const err_ = err as unknown as { shortMessage: string };
if (err_.shortMessage.includes("Signature already used")) {
if (err_.shortMessage?.includes("Signature already used")) {
return null;
}
log.error(err_.shortMessage, "Error while approving");
Expand Down

0 comments on commit 8f35f99

Please sign in to comment.