Add printf for txtype; Fix txtype init

This commit is contained in:
pscott
2021-08-04 17:42:09 +02:00
parent 63467a4145
commit d04dcd8dc6
2 changed files with 1 additions and 3 deletions

View File

@@ -31,10 +31,7 @@ void initTx(txContext_t *context,
txContent_t *content,
ustreamProcess_t customProcessor,
void *extra) {
uint8_t save = context->txType;
memset(context, 0, sizeof(txContext_t));
context->txType = save;
context->sha3 = sha3;
context->content = content;
context->customProcessor = customProcessor;