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:
committed by
Amaury Martiny
parent
43a1d95809
commit
36d7a85ed2
@@ -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>];
|
||||
|
||||
Reference in New Issue
Block a user