Skip to content

Commit

Permalink
Network id convert to hex must be number #100
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxiwei committed Dec 6, 2023
1 parent 638fd58 commit d441aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Dapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { WaitingForTransactionMessage } from "./WaitingForTransactionMessage";
import { NoTokensMessage } from "./NoTokensMessage";

// This is the default id used by the Hardhat Network
const HARDHAT_NETWORK_ID = '31337';
const HARDHAT_NETWORK_ID = 31337;

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

0 comments on commit d441aed

Please sign in to comment.