diff --git a/src/handle_provide_token.c b/src/handle_provide_token.c index b12c71a..1935999 100644 --- a/src/handle_provide_token.c +++ b/src/handle_provide_token.c @@ -3,7 +3,10 @@ void handle_provide_token(void *parameters) { ethPluginProvideInfo_t *msg = (ethPluginProvideInfo_t *) parameters; quickswap_parameters_t *context = (quickswap_parameters_t *) msg->pluginContext; - PRINTF("QUICKSWAP plugin provide token: 0x%p, 0x%p\n", msg->item1->token, msg->item2->token); + + PRINTF("QUICKSWAP plugin provide token: 0x%p, 0x%p\n", + msg->item1->token.address, + msg->item2->token.address); if (ADDRESS_IS_NETWORK_TOKEN(context->contract_address_sent)) { context->decimals_sent = WEI_TO_ETHER; diff --git a/tests/elfs/quickswap_nanos.elf b/tests/elfs/quickswap_nanos.elf index 1b09799..ab581ba 100755 Binary files a/tests/elfs/quickswap_nanos.elf and b/tests/elfs/quickswap_nanos.elf differ diff --git a/tests/elfs/quickswap_nanox.elf b/tests/elfs/quickswap_nanox.elf index 91b4b4c..8302dc2 100755 Binary files a/tests/elfs/quickswap_nanox.elf and b/tests/elfs/quickswap_nanox.elf differ diff --git a/tests/src/test.fixture.js b/tests/src/test.fixture.js index b808662..20fecd4 100644 --- a/tests/src/test.fixture.js +++ b/tests/src/test.fixture.js @@ -170,7 +170,7 @@ function processTest(device, contractName, testLabel, testDirSuffix, rawTxHex, s } -function populateTransaction(contractAddr, inputData, chainId, value = "0.1") { +function populateTransaction(contractAddr, inputData, chainId, value = "0.0") { // Get the generic transaction template let unsignedTx = genericTx; //adapt to the appropriate network