Fix parsing for a contract call with no data
This commit is contained in:
committed by
TamtamHero
parent
d0311933c3
commit
ef3c5fa27b
@@ -50,6 +50,10 @@ customStatus_e customProcessor(txContext_t *context) {
|
||||
dataContext.tokenContext.fieldIndex = 0;
|
||||
dataContext.tokenContext.fieldOffset = 0;
|
||||
copyTxData(context, NULL, 4);
|
||||
if (context->currentFieldLength == 4) {
|
||||
dataContext.tokenContext.fieldIndex++;
|
||||
return CUSTOM_HANDLED;
|
||||
}
|
||||
}
|
||||
}
|
||||
uint32_t blockSize;
|
||||
|
||||
Reference in New Issue
Block a user