Skip to content

Commit

Permalink
Re-introduce getTransactionByHash2 as an alias for getTransactionByHash
Browse files Browse the repository at this point in the history
For compatibility with the pow-migration tool
  • Loading branch information
sisou committed Oct 2, 2024
1 parent dd1b63b commit bb44cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clients/nodejs/modules/JsonRpcServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class JsonRpcServer {
this._methods.set('getTransactionByBlockHashAndIndex', this.getTransactionByBlockHashAndIndex.bind(this));
this._methods.set('getTransactionByBlockNumberAndIndex', this.getTransactionByBlockNumberAndIndex.bind(this));
this._methods.set('getTransactionByHash', this.getTransactionByHash.bind(this));
this._methods.set('getTransactionByHash2', this.getTransactionByHash.bind(this));
this._methods.set('getTransactionReceipt', this.getTransactionReceipt.bind(this));
this._methods.set('getTransactionsByAddress', this.getTransactionsByAddress.bind(this));
this._methods.set('mempoolContent', this.mempoolContent.bind(this));
Expand Down

0 comments on commit bb44cc6

Please sign in to comment.