Skip to content

Commit

Permalink
fix: Bug in error message (#3386)
Browse files Browse the repository at this point in the history
Error message had a typo
  • Loading branch information
roninjin10 committed May 1, 2024
1 parent 55a8e66 commit 2dd8a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tx/src/baseTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export abstract class BaseTransaction<T extends TransactionType>
if (common) {
if (common.chainId() !== chainIdBigInt) {
const msg = this._errorMsg(
`The chain ID does not match the chain ID of Common. Got: ${chainIdBigInt}, expected: ${common.chainId}`
`The chain ID does not match the chain ID of Common. Got: ${chainIdBigInt}, expected: ${common.chainId()}`
)
throw new Error(msg)
}
Expand Down

0 comments on commit 2dd8a42

Please sign in to comment.