Skip to content

Commit

Permalink
Make getDisplayPublicSeed output more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Jan 21, 2022
1 parent cd039f0 commit a2e5f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/utxobased/engine/makeUtxoEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ export async function makeUtxoEngine(
},

getDisplayPublicSeed(): string | null {
const xpubs = publicKey.publicKeys
return Object.values(xpubs).join('\n')
const xpubs = Object.values(publicKey.publicKeys)
return xpubs.length > 0 ? xpubs.join('\n') : null
},

async getEnabledTokens(): Promise<string[]> {
Expand Down

0 comments on commit a2e5f2f

Please sign in to comment.