Skip to content

Commit

Permalink
Update plugin interface version
Browse files Browse the repository at this point in the history
  • Loading branch information
TamtamHero committed Sep 7, 2021
1 parent c19c65e commit 6217a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paraswap_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const uint8_t NULL_ETH_ADDRESS[ADDRESS_LENGTH] = {0x00, 0x00, 0x00, 0x00, 0x00,
static void handle_init_contract(void *parameters) {
ethPluginInitContract_t *msg = (ethPluginInitContract_t *) parameters;

if (msg->interfaceVersion != ETH_PLUGIN_INTERFACE_VERSION_1) {
if (msg->interfaceVersion != ETH_PLUGIN_INTERFACE_VERSION_LATEST) {
msg->result = ETH_PLUGIN_RESULT_UNAVAILABLE;
return;
}
Expand Down

0 comments on commit 6217a0e

Please sign in to comment.