Update latest extrinsic version (#1511)

* Update latest extrinsic version

* Don't export const with types
This commit is contained in:
Jaco Greeff
2019-10-25 08:51:03 +02:00
committed by GitHub
parent 44d0ced5af
commit 0b71291cf1
5 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -131,7 +131,7 @@ export function info (api: ApiInterfaceRx): () => Observable<DerivedSessionInfo>
// pre-94 we had more info and needed to calculate (handle old/Alex first)
// https://github.com/paritytech/substrate/commit/dbf322620948935d2bbae214504e6c668c3073ed#diff-c29f42d6b931fa93ba038dbbbfec3055
return api.query.session.lastLengthChange
? info94(api)
: infoLatest(api);
? info94(api) // 1.x
: infoLatest(api); // 2.x
};
}