use add, not getTransaction

This commit is contained in:
JoelKatz
2012-06-01 15:41:13 -07:00
parent 3751aea08b
commit c32e18d2ff
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans,
newcoin::TMTransaction tx;
Serializer s;
trans->getSTransaction()->getTransaction(s, false);
trans->getSTransaction()->add(s);
tx.set_rawtransaction(&s.getData().front(), s.getLength());
tx.set_status(newcoin::tsCURRENT);
tx.set_receivetimestamp(getNetworkTimeNC());