Skip to content

Commit

Permalink
chore: address PR comment
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Petrunic <[email protected]>
  • Loading branch information
mpetrunic committed Oct 30, 2023
1 parent 2579b3d commit 3acd14e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web3/test/integration/web3-plugin-add-tx.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ along with web3.js. If not, see <http://www.gnu.org/licenses/>.

/* eslint-disable @typescript-eslint/no-magic-numbers */

import { Transaction, TransactionFactory, Web3Account } from 'web3-eth-accounts';
import { Transaction, Web3Account } from 'web3-eth-accounts';
import { SupportedProviders, Web3, Web3PluginBase } from '../../src';
import {
createAccount,
Expand All @@ -31,7 +31,7 @@ class Eip4844Plugin extends Web3PluginBase {
public pluginNamespace = 'txType3';
public constructor() {
super();
TransactionFactory.registerTransactionType(TRANSACTION_TYPE, SomeNewTxTypeTransaction);
this.registerTransaction(TRANSACTION_TYPE, SomeNewTxTypeTransaction);
}
}

Expand Down

0 comments on commit 3acd14e

Please sign in to comment.