From 7cfe501559255ad036421563776422cde6ae574a Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 15 May 2012 20:29:54 -0700 Subject: [PATCH] Bugfix. --- src/NetworkOPs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NetworkOPs.cpp b/src/NetworkOPs.cpp index f27a89971..c7ff5e825 100644 --- a/src/NetworkOPs.cpp +++ b/src/NetworkOPs.cpp @@ -90,9 +90,9 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans, boost::shared_ptr tx = boost::make_shared(); - Serializer::pointer s; - trans->getSTransaction()->getTransaction(*s, false); - tx->set_rawtransaction(&s->getData().front(), s->getLength()); + Serializer s; + trans->getSTransaction()->getTransaction(s, false); + tx->set_rawtransaction(&s.getData().front(), s.getLength()); tx->set_status(newcoin::tsCURRENT); tx->set_receivetimestamp(getNetworkTimeNC()); tx->set_ledgerindexpossible(trans->getLedger());