Skip to content

Commit d441aed

Browse files
committed
Network id convert to hex must be number NomicFoundation#100
1 parent 638fd58 commit d441aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Dapp.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { WaitingForTransactionMessage } from "./WaitingForTransactionMessage";
2020
import { NoTokensMessage } from "./NoTokensMessage";
2121

2222
// This is the default id used by the Hardhat Network
23-
const HARDHAT_NETWORK_ID = '31337';
23+
const HARDHAT_NETWORK_ID = 31337;
2424

2525
// This is an error code that indicates that the user canceled a transaction
2626
const ERROR_CODE_TX_REJECTED_BY_USER = 4001;

0 commit comments

Comments
 (0)