Hide debug logs

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-08-16 18:52:35 +02:00
committed by Alexis Sellier
parent 38ba77c23b
commit 63e18571a0
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ export const state = writable<Connection>({ connection: State.Connecting });
window.registrarState = state;
state.subscribe((s: Connection) => {
console.log("register.state", s);
console.debug("register.state", s);
});
export async function getRegistration(name: string, config: Config, resolver?: EnsResolver | null): Promise<Registration | null> {
@@ -317,7 +317,7 @@ async function register(name: string, owner: string, salt: Uint8Array, config: C
);
state.set({ connection: State.Registering });
console.log("Sent", tx);
console.debug("Sent", tx);
await tx.wait();
window.localStorage.removeItem("commitment");
+1 -1
View File
@@ -14,5 +14,5 @@ export enum State {
export const state = writable(State.Idle);
state.subscribe(s => {
console.log("vesting.state", s);
console.debug("vesting.state", s);
});