Use const in main bls export

This commit is contained in:
dapplion 2020-11-29 17:10:20 +00:00
parent e51c1784a7
commit 61c1baea3f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import {bls as blsHerumi} from "./herumi";
export type Implementation = "herumi" | "blst-native";
// TODO: Use a Proxy for example to throw an error if it's not initialized yet
export let bls: IBls = {} as IBls;
export const bls: IBls = {} as IBls;
async function getImplementation(impl: Implementation = "herumi"): Promise<IBls> {
switch (impl) {