WS: Fix status of broadcasted transactions.

This commit is contained in:
Arthur Britto
2012-10-15 17:11:13 -07:00
parent 0cf9fdb4d8
commit e513ef177f
2 changed files with 8 additions and 6 deletions

View File

@@ -992,12 +992,12 @@ void NetworkOPs::pubLedger(Ledger::ref lpAccepted)
if (bAll)
{
pubTransactionAll(lpAccepted, *stTxn, terResult, "closed");
pubTransactionAll(lpAccepted, *stTxn, terResult, true);
}
if (bAccounts)
{
pubTransactionAccounts(lpAccepted, *stTxn, terResult, "closed");
pubTransactionAccounts(lpAccepted, *stTxn, terResult, true);
}
}
}
@@ -1099,12 +1099,12 @@ void NetworkOPs::pubTransaction(Ledger::ref lpCurrent, const SerializedTransacti
if (!mSubTransaction.empty())
{
pubTransactionAll(lpCurrent, stTxn, terResult, "proposed");
pubTransactionAll(lpCurrent, stTxn, terResult, false);
}
if (!mSubAccountTransaction.empty())
{
pubTransactionAccounts(lpCurrent, stTxn, terResult, "proposed");
pubTransactionAccounts(lpCurrent, stTxn, terResult, false);
}
}