Browse Source

Build fix

pull/453/head
miketout 2 years ago
parent
commit
8265527391
  1. 2
      src/key_io.cpp

2
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)))

Loading…
Cancel
Save