From ef5c1f9c03c073337dedb47d98c94b659f344dbb Mon Sep 17 00:00:00 2001 From: sowle Date: Mon, 23 Sep 2024 06:15:23 +0200 Subject: [PATCH] coretests: gcc compilation fixed --- tests/core_tests/multiassets_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core_tests/multiassets_test.cpp b/tests/core_tests/multiassets_test.cpp index 70ad2b7d..23326daa 100644 --- a/tests/core_tests/multiassets_test.cpp +++ b/tests/core_tests/multiassets_test.cpp @@ -1288,7 +1288,7 @@ bool eth_signed_asset_via_rpc::c1(currency::core& c, size_t ev_index, const std: // make sure this is an ownership transfer transaction and the ownership is correctly transferred: // Note: this check could also be done by examination of decrypt_resp.tx_in_json asset_descriptor_operation* pado = get_type_in_variant_container(to_tx.extra); - CHECK_AND_ASSERT_NEQ(pado, nullptr); + CHECK_AND_ASSERT_NEQ(pado, 0); CHECK_AND_ASSERT_EQ(pado->operation_type, ASSET_DESCRIPTOR_OPERATION_UPDATE); CHECK_AND_ASSERT_EQ(pado->opt_asset_id.has_value(), true); CHECK_AND_ASSERT_EQ(pado->opt_asset_id.get(), asset_id);