mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
With all this rope lying about, someone might get hung.
(Wrong length for SerialializedTransaction.)
This commit is contained in:
@@ -580,7 +580,7 @@ void Peer::recvTransaction(newcoin::TMTransaction& packet)
|
||||
std::string rawTx = packet.rawtransaction();
|
||||
Serializer s(std::vector<unsigned char>(rawTx.begin(), rawTx.end()));
|
||||
SerializerIterator sit(s);
|
||||
SerializedTransaction::pointer stx = boost::make_shared<SerializedTransaction>(boost::ref(sit), -1);
|
||||
SerializedTransaction::pointer stx = boost::make_shared<SerializedTransaction>(boost::ref(sit));
|
||||
|
||||
tx = boost::make_shared<Transaction>(stx, true);
|
||||
if (tx->getStatus() == INVALID) throw(0);
|
||||
|
||||
Reference in New Issue
Block a user