Skip to content

Commit

Permalink
revert matic regtest chain id
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed Jul 13, 2023
1 parent 7d90110 commit d2a8abd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class MATICTxProvider extends ETHTxProvider {
chainId = 80001;
break;
case 'regtest':
chainId = 13375;
chainId = 1337;
break;
default:
chainId = 137;
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto-wallet-core/test/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,6 @@ describe('MATIC Transaction getChainId', () => {
expect(testId).to.equal(80001);

const regtestId = Transactions.get({ chain: 'MATIC' }).getChainId('regtest');
expect(regtestId).to.equal(13375);
expect(regtestId).to.equal(1337);
});
});

0 comments on commit d2a8abd

Please sign in to comment.