Fix build issues
This commit is contained in:
@@ -351,10 +351,10 @@ export function InvitationScreen(): React.ReactElement {
|
||||
const seenLockingBytecodes = new Set<string>();
|
||||
|
||||
for (const utxo of utxos) {
|
||||
const lockingBytecodeHex = utxo.lockingBytecode
|
||||
? typeof utxo.lockingBytecode === 'string'
|
||||
? utxo.lockingBytecode
|
||||
: Buffer.from(utxo.lockingBytecode).toString('hex')
|
||||
const lockingBytecodeHex = utxo.scriptHash
|
||||
? typeof utxo.scriptHash === 'string'
|
||||
? utxo.scriptHash
|
||||
: Buffer.from(utxo.scriptHash).toString('hex')
|
||||
: undefined;
|
||||
|
||||
if (lockingBytecodeHex && seenLockingBytecodes.has(lockingBytecodeHex)) continue;
|
||||
|
||||
Reference in New Issue
Block a user