Skip to content

Commit 5c95b89

Browse files
authored
Merge pull request #2059 from oasisprotocol/lw/machine-id
Fix machine ID serialization
2 parents f37feb4 + 28fd6c4 commit 5c95b89

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.changelog/2059.bugfix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix machine ID serialization

src/app/components/RuntimeEvents/RuntimeEventDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ const RuntimeEventDetailsInner: FC<{
550550
</dd>
551551
<dt>{t('roflmarket.machineId')}</dt>
552552
{/* oasis-sdk serializes roflmarket provider machines id as an array */}
553-
<dd>{JSON.stringify(event.body.id)}</dd>
553+
<dd>0x{Buffer.from(event.body.id).toString('hex')}</dd>
554554
</StyledDescriptionList>
555555
</div>
556556
)

0 commit comments

Comments
 (0)