From 09dc47493c77634c3e62666ec71496d230c8ca90 Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Sat, 13 Oct 2018 19:04:50 -0700 Subject: [PATCH] Check unserialized tx --- src/cc/StakeGuard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/StakeGuard.cpp b/src/cc/StakeGuard.cpp index e5898e700..fb710db88 100644 --- a/src/cc/StakeGuard.cpp +++ b/src/cc/StakeGuard.cpp @@ -414,7 +414,7 @@ bool StakeGuardValidate(struct CCcontract_info *cp, Eval* eval, const CTransacti catch (...) { } - if (checkOK && !ValidateMatchingStake(txOut, tx.vin[0].prevout.n, tx, validCheat)) + if (checkOK && !ValidateMatchingStake(txOut, tx.vin[0].prevout.n, cheatTx, validCheat)) { validCheat = false; }