Skip to content

Commit cd53251

Browse files
shesekphilippem
authored andcommitted
Explicitly convert unblinding errors to strings
Prior to this fix, some error types originating from the WASM runtime were not displayed properly.
1 parent 0732c35 commit cd53251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/views/tx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default ({ t, tx, tipHeight, spends, openTx, page, unblinded, ...S }) =>
4343
</div>
4444
<div className="container">
4545
{txHeader(tx, { t, tipHeight, ...S })}
46-
{(unblinded && unblinded.error) ? <div className="text-center text-danger mt-3">{t`Warning:`} {unblinded.error}</div> : <div></div>}
46+
{(unblinded && unblinded.error) ? <div className="text-center text-danger mt-3">{t`Warning:`} {unblinded.error.toString()}</div> : <div></div>}
4747
{txBox(tx, { openTx, tipHeight, t, spends, query: page.query, ...S })}
4848
</div>
4949
</div>

0 commit comments

Comments
 (0)