Remove copypasta invalid check for contract data size

This commit is contained in:
BTChip
2016-10-17 23:36:29 +02:00
parent 893c9820e4
commit 533c14adc2

View File

@@ -213,10 +213,6 @@ static void processData(txContext_t *context) {
screen_printf("Invalid type for RLP_DATA\n");
THROW(EXCEPTION);
}
if (context->currentFieldLength > MAX_INT256) {
screen_printf("Invalid length for RLP_DATA\n");
THROW(EXCEPTION);
}
if (context->currentFieldPos < context->currentFieldLength) {
uint32_t copySize =
(context->commandLength <