From 82655273912c640fe8276ee9d02dff0d4377fc51 Mon Sep 17 00:00:00 2001 From: miketout Date: Mon, 12 Sep 2022 14:26:05 -0700 Subject: [PATCH] Build fix --- src/key_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key_io.cpp b/src/key_io.cpp index d509c0dba..bc7392988 100644 --- a/src/key_io.cpp +++ b/src/key_io.cpp @@ -745,7 +745,7 @@ CETHNFTAddress::CETHNFTAddress(const UniValue &uni) std::string contractAddrStr = uni_get_str(find_value(uni, "contract")); std::string TokenIDStr = uni_get_str(find_value(uni, "tokenid")); - if (!(contractID = DecodeEthDestination(contractAddrStr)).IsNull() && + if (!(contractID = CTransferDestination::DecodeEthDestination(contractAddrStr)).IsNull() && TokenIDStr.length() == 66 && TokenIDStr.substr(0,2) == "0x" && IsHex(TokenIDStr.substr(2,64)))