We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getDisplayPublicSeed
1 parent cd039f0 commit a2e5f2fCopy full SHA for a2e5f2f
src/common/utxobased/engine/makeUtxoEngine.ts
@@ -191,8 +191,8 @@ export async function makeUtxoEngine(
191
},
192
193
getDisplayPublicSeed(): string | null {
194
- const xpubs = publicKey.publicKeys
195
- return Object.values(xpubs).join('\n')
+ const xpubs = Object.values(publicKey.publicKeys)
+ return xpubs.length > 0 ? xpubs.join('\n') : null
196
197
198
async getEnabledTokens(): Promise<string[]> {
0 commit comments