Fix Wanchain (#615)

* fix Wanchain app sign error

* remove redundant path

---------

Co-authored-by: zhwir <zhwir@163.com>
This commit is contained in:
apaillier-ledger
2024-07-26 10:46:52 +02:00
committed by GitHub
parent 63894999f5
commit 44b5a23785
4 changed files with 4 additions and 61 deletions

View File

@@ -69,10 +69,7 @@ void handleSign(uint8_t p1,
PRINTF("Parser not initialized\n");
THROW(0x6985);
}
txResult = processTx(&txContext,
workBuffer,
dataLength,
(chainConfig->chainId == 888 ? TX_FLAG_TYPE : 0)); // Wanchain exception
txResult = processTx(&txContext, workBuffer, dataLength);
switch (txResult) {
case USTREAM_SUSPENDED:
break;