Don't relay failed transactions when we are tracking the network.

This commit is contained in:
JoelKatz
2012-06-23 21:55:45 -07:00
parent a4b66042c5
commit 9f519369be

View File

@@ -98,7 +98,7 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans,
}
Log(lsDEBUG) << "Status other than success " << r ;
if ((mMode != omFULL) && (theApp->isNew(trans->getID())))
if ((mMode != omFULL) && (mMode != omTRACKING) && (theApp->isNew(trans->getID())))
{
newcoin::TMTransaction tx;
Serializer s;