MCPcopy Create free account
hub / github.com/block/buzz / writeStoredIdentityOverride

Function writeStoredIdentityOverride

desktop/src/testing/e2eBridge.ts:2639–2644  ·  view source on GitHub ↗
(identity: TestIdentity)

Source from the content-addressed store, hash-verified

2637}
2638
2639function writeStoredIdentityOverride(identity: TestIdentity) {
2640 window.localStorage.setItem(
2641 E2E_IDENTITY_OVERRIDE_STORAGE_KEY,
2642 JSON.stringify(identity),
2643 );
2644}
2645
2646function importMockIdentity(nsec: string) {
2647 const decoded = decode(nsec.trim());

Callers 1

importMockIdentityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected