Fix staticcall display ot traces

This commit is contained in:
Willian Mitsuda 2021-11-07 17:35:17 -03:00
parent 43f0ba0f8d
commit 45bfe9718a
1 changed files with 5 additions and 1 deletions

View File

@ -159,7 +159,11 @@ export const useTransactionDescription = (
if (!fourBytesEntry) { if (!fourBytesEntry) {
return fourBytesEntry; return fourBytesEntry;
} }
if (!fourBytesEntry.signature || !data || !value) { if (
!fourBytesEntry.signature ||
data === undefined ||
value === undefined
) {
return undefined; return undefined;
} }