From 0d0ef3ff9a48a91ca027c364d0e86810f29e778a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 10 Sep 2018 07:15:14 -1100 Subject: [PATCH] & --- src/cc/gateways.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/gateways.cpp b/src/cc/gateways.cpp index 3699c2881..b77518172 100644 --- a/src/cc/gateways.cpp +++ b/src/cc/gateways.cpp @@ -451,7 +451,7 @@ int64_t GatewaysVerify(char *refdepositaddr,uint256 oracletxid,int32_t claimvout Getscriptaddress(destaddr,tx.vout[i].scriptPubKey); if ( strcmp(refdepositaddr,destaddr) == 0 ) { - if ( redeemscript.size() == tx.vout[claimvout].scriptPubKey.size() && memcmp(&redeemscript.data(),tx.vout[claimvout].scriptPubKey.data(),redeemscript.size()) == 0 ) + if ( redeemscript.size() == tx.vout[claimvout].scriptPubKey.size() && memcmp(redeemscript.data(),tx.vout[claimvout].scriptPubKey.data(),redeemscript.size()) == 0 ) { txid = tx.GetHash(); nValue = tx.vout[i].nValue;