* Returns an index for passed Block * * @param block - block to find index
(block: Block)
| 666 | * @param block - block to find index |
| 667 | */ |
| 668 | public getBlockIndex(block: Block): number { |
| 669 | return this._blocks.indexOf(block); |
| 670 | } |
| 671 | |
| 672 | /** |
| 673 | * Returns the Block by passed id |
no test coverage detected