mirror of
https://github.com/dergigi/boris.git
synced 2025-12-19 15:44:20 +01:00
fix: pass account.signer to EventFactory instead of full account
- EventFactory expects an EventSigner interface with signEvent method - account.signer is the actual NostrConnectSigner instance - Add debug logging to trace signer type - This should fix signing hanging when using bunker
This commit is contained in:
@@ -46,7 +46,8 @@ export async function createHighlight(
|
||||
}
|
||||
|
||||
// Create EventFactory with the account as signer
|
||||
const factory = new EventFactory({ signer: account })
|
||||
console.log("[bunker] Creating EventFactory with signer:", { signerType: account.signer?.constructor?.name })
|
||||
const factory = new EventFactory({ signer: account.signer })
|
||||
|
||||
let blueprintSource: NostrEvent | AddressPointer | string
|
||||
let context: string | undefined
|
||||
|
||||
Reference in New Issue
Block a user