Move HeaderExtended type to api-derive (#923)

* Move HeaderExtended type to api-derive

* Really remove HeaderExt from Header this time around
This commit is contained in:
Jaco Greeff
2019-05-17 11:44:14 +02:00
committed by Amaury Martiny
parent 43a1d95809
commit 36d7a85ed2
9 changed files with 81 additions and 69 deletions
+2 -1
View File
@@ -5,8 +5,9 @@
import { Observable, combineLatest, of } from 'rxjs';
import { catchError, map } from 'rxjs/operators';
import { ApiInterface$Rx } from '@polkadot/api/types';
import { Header, HeaderExtended } from '@polkadot/types';
import { Header } from '@polkadot/types';
import { HeaderExtended } from '../type';
import { drr } from '../util/drr';
import { HeaderAndValidators } from './subscribeNewHead';
@@ -5,8 +5,9 @@
import { Observable, combineLatest, of } from 'rxjs';
import { filter, map, switchMap } from 'rxjs/operators';
import { ApiInterface$Rx } from '@polkadot/api/types';
import { AccountId, Header, HeaderExtended } from '@polkadot/types';
import { AccountId, Header } from '@polkadot/types';
import { HeaderExtended } from '../type';
import { drr } from '../util/drr';
export type HeaderAndValidators = [Header, Array<AccountId>];