mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user