Renamed Item to Asset & changed the set marker type to boolean
Also renamed the reset assets function
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
|
||||
#define N_storage (*(volatile internalStorage_t *) PIC(&N_storage_real))
|
||||
|
||||
#define MAX_ASSETS MAX_ITEMS // TODO: Temporary, remove once plugin SDK is updated
|
||||
|
||||
typedef struct bip32_path_t {
|
||||
uint8_t length;
|
||||
uint32_t path[MAX_BIP32_PATH];
|
||||
@@ -77,9 +79,9 @@ typedef struct publicKeyContext_t {
|
||||
typedef struct transactionContext_t {
|
||||
bip32_path_t bip32;
|
||||
uint8_t hash[INT256_LENGTH];
|
||||
union extraInfo_t extraInfo[MAX_ITEMS];
|
||||
uint8_t tokenSet[MAX_ITEMS];
|
||||
uint8_t currentItemIndex;
|
||||
union extraInfo_t extraInfo[MAX_ASSETS];
|
||||
bool assetSet[MAX_ASSETS];
|
||||
uint8_t currentAssetIndex;
|
||||
} transactionContext_t;
|
||||
|
||||
typedef struct messageSigningContext_t {
|
||||
|
||||
Reference in New Issue
Block a user