Renamed get_asset_info to get_asset_info_by_addr
This commit is contained in:
@@ -4,7 +4,7 @@ void reset_known_tokens(void) {
|
||||
memset(tmpCtx.transactionContext.tokenSet, 0, MAX_ITEMS);
|
||||
}
|
||||
|
||||
extraInfo_t *get_asset_info(const uint8_t *contractAddress) {
|
||||
extraInfo_t *get_asset_info_by_addr(const uint8_t *contractAddress) {
|
||||
// Works for ERC-20 & NFT tokens since both structs in the union have the
|
||||
// contract address aligned
|
||||
for (uint8_t i = 0; i < MAX_ITEMS; i++) {
|
||||
|
||||
@@ -3,5 +3,4 @@
|
||||
#include "asset_info.h"
|
||||
|
||||
void reset_known_tokens(void);
|
||||
|
||||
extraInfo_t *get_asset_info(const uint8_t *contractAddress);
|
||||
extraInfo_t *get_asset_info_by_addr(const uint8_t *contractAddress);
|
||||
|
||||
Reference in New Issue
Block a user