Rename called_from_swap to G_called_from_swap

This commit is contained in:
Francois Beutin
2023-06-30 14:05:46 +02:00
parent 1edf9cdb6a
commit 02cdc23751
8 changed files with 14 additions and 14 deletions

View File

@@ -149,7 +149,7 @@ eth_plugin_result_t eth_plugin_perform_init(uint8_t *contractAddress,
}
// Do not handle a plugin if running in swap mode
if (called_from_swap && (contractAddress != NULL)) {
if (G_called_from_swap && (contractAddress != NULL)) {
PRINTF("eth_plug_init aborted in swap mode\n");
return 0;
}