Skip to content

Commit

Permalink
remove multi tx type
Browse files Browse the repository at this point in the history
  • Loading branch information
Strernd committed Jun 18, 2020
1 parent 7a8dc69 commit af3c763
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { StorageId } from './Storage';
import { AssetSymbol } from './Blockchain';

export class Transaction {
isMulti?: false;
id: StorageId;
blocks: Block[] = [];

Expand Down
7 changes: 0 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,3 @@ export type BlockchainTx = {
tx: Transaction;
blockchain: Blockchain;
};

export type MultiTx = {
isMulti: true;
transactions: Transaction[];
};

export type TxOrMultiTx = Transaction | MultiTx;

0 comments on commit af3c763

Please sign in to comment.