Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Remove BaseTransaction extension requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsujutsu committed Jun 14, 2019
1 parent 89c21e2 commit f06dfd9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions framework/src/controller/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

const assert = require('assert');
const {
BaseTransaction,
TransferTransaction,
SecondSignatureTransaction,
DelegateTransaction,
Expand Down Expand Up @@ -228,11 +227,6 @@ class Application {
registerTransaction(Transaction, { matcher } = {}) {
assert(Transaction, 'Transaction implementation is required');

assert(
Transaction.prototype instanceof BaseTransaction,
'Transaction must extend BaseTransaction.'
);

assert(
Number.isInteger(Transaction.TYPE),
'Transaction type is required as an integer'
Expand Down

0 comments on commit f06dfd9

Please sign in to comment.