diff --git a/src/helpers/index.ts b/src/helpers/index.ts index 037b90c..178cd64 100644 --- a/src/helpers/index.ts +++ b/src/helpers/index.ts @@ -1 +1 @@ -export * from "./utils"; \ No newline at end of file +export * from "./utils"; diff --git a/src/helpers/utils.ts b/src/helpers/utils.ts index 1f768bc..b81b6ae 100644 --- a/src/helpers/utils.ts +++ b/src/helpers/utils.ts @@ -1,8 +1,8 @@ import {PUBLIC_KEY_LENGTH, SIGNATURE_LENGTH} from "../constants"; export function assert(condition: unknown, message = "Assertion failed"): asserts condition { - if(!condition) { - throw new Error(message) + if (!condition) { + throw new Error(message); } }