From 47797dad1c6408b247a733e1f2269ee74c69de7f Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 8 Apr 2015 04:18:25 +0200 Subject: [PATCH] Fix for lack of transaction propagation. --- alethzero/Main.ui | 6 +++--- libethereum/EthereumPeer.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alethzero/Main.ui b/alethzero/Main.ui index 14f3f5b67..6c01f57f9 100644 --- a/alethzero/Main.ui +++ b/alethzero/Main.ui @@ -570,7 +570,7 @@ - Qt::NoFocus + Qt::WheelFocus QFrame::NoFrame @@ -637,7 +637,7 @@ - Qt::NoFocus + Qt::WheelFocus QFrame::NoFrame @@ -715,7 +715,7 @@ - Qt::NoFocus + Qt::WheelFocus QFrame::NoFrame diff --git a/libethereum/EthereumPeer.cpp b/libethereum/EthereumPeer.cpp index 2f44ae860..3da4402ac 100644 --- a/libethereum/EthereumPeer.cpp +++ b/libethereum/EthereumPeer.cpp @@ -348,11 +348,11 @@ bool EthereumPeer::interpret(unsigned _id, RLP const& _r) break; case ImportResult::AlreadyKnown: // if we already had the transaction, then don't bother sending it on. + host()->m_transactionsSent.insert(h); addRating(0); break; case ImportResult::Success: addRating(100); - host()->m_transactionsSent.insert(h); break; default:; }