Conditionnaly comment Starkware some missing logic for altcoins
This commit is contained in:
@@ -56,6 +56,7 @@ bool check_token_binding(char* ticker1, char* ticker2, const ticker_binding_t* b
|
||||
}
|
||||
|
||||
bool erc20_plugin_available_check() {
|
||||
#ifdef HAVE_STARKWARE
|
||||
if (quantumSet) {
|
||||
switch(dataContext.tokenContext.quantumType) {
|
||||
case STARK_QUANTUM_LEGACY:
|
||||
@@ -67,6 +68,7 @@ bool erc20_plugin_available_check() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ typedef struct erc721_parameters_t {
|
||||
} erc721_parameters_t;
|
||||
|
||||
bool erc721_plugin_available_check() {
|
||||
#ifdef HAVE_STARKWARE
|
||||
if (quantumSet) {
|
||||
switch(dataContext.tokenContext.quantumType) {
|
||||
case STARK_QUANTUM_ERC721:
|
||||
@@ -27,6 +28,7 @@ bool erc721_plugin_available_check() {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void erc721_plugin_call(int message, void *parameters) {
|
||||
|
||||
Reference in New Issue
Block a user