Simplified adding new clones
Removed dead code from the app (was safeguarded by #ifdefs of macros that weren't defined)
This commit is contained in:
@@ -13,9 +13,7 @@ void handleGetAppConfiguration(uint8_t p1,
|
||||
UNUSED(dataLength);
|
||||
UNUSED(flags);
|
||||
G_io_apdu_buffer[0] = (N_storage.dataAllowed ? APP_FLAG_DATA_ALLOWED : 0x00);
|
||||
#ifndef HAVE_TOKENS_LIST
|
||||
G_io_apdu_buffer[0] |= APP_FLAG_EXTERNAL_TOKEN_NEEDED;
|
||||
#endif
|
||||
#ifdef HAVE_STARKWARE
|
||||
G_io_apdu_buffer[0] |= APP_FLAG_STARKWARE;
|
||||
G_io_apdu_buffer[0] |= APP_FLAG_STARKWARE_V2;
|
||||
|
||||
@@ -72,7 +72,7 @@ void handleSign(uint8_t p1,
|
||||
txResult = processTx(&txContext,
|
||||
workBuffer,
|
||||
dataLength,
|
||||
(chainConfig->kind == CHAIN_KIND_WANCHAIN ? TX_FLAG_TYPE : 0));
|
||||
(chainConfig->chainId == 888 ? TX_FLAG_TYPE : 0)); // Wanchain exception
|
||||
switch (txResult) {
|
||||
case USTREAM_SUSPENDED:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user