Skip to content

Commit

Permalink
Merge pull request #296 from nodar-chkuaselidze/fix-mtx
Browse files Browse the repository at this point in the history
mtx: fix static fromTX.
  • Loading branch information
boymanjor authored Nov 11, 2019
2 parents dbcdc85 + 6dc67b4 commit f9d00ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/primitives/mtx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ class MTX extends TX {
*/

static fromTX(tx) {
return new this().inject(tx);
return new this().fromTX(tx);
}

/**
Expand Down

0 comments on commit f9d00ce

Please sign in to comment.