Skip to content

Commit

Permalink
don't error on empty DAO address
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jan 8, 2025
1 parent fac1666 commit a05a9f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/stateful/components/apps/AppsRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ export const AppsRenderer = ({ mode, ...props }: AppsRendererProps) => {
algo: 'secp256k1',
pubkey: EMPTY_PUB_KEY,
pubKey: EMPTY_PUB_KEY,
address: fromBech32(bech32Address).data,
address: bech32Address
? fromBech32(bech32Address).data
: new Uint8Array([]),
bech32Address,
isNanoLedger: false,
isSmartContract: false,
Expand Down

0 comments on commit a05a9f7

Please sign in to comment.