diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index e7a8f4773..64cde03a4 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -1115,7 +1115,7 @@ bool ProcessAssets(Eval* eval, std::vector paramsNull,const CTransactio { static uint256 zero,prevtxid; CTransaction createTx; uint256 txid,assetid,assetid2,hashBlock; uint8_t funcid; int32_t i,n; uint64_t amount; std::vector origpubkey; - txid = tx.GetHash(); + txid = ctx.GetHash(); if ( txid == prevtxid ) return(true); CTransaction tx = *(CTransaction *)&ctx;