diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-09-19 21:20:34 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-09-19 21:20:34 +0000 |
commit | 172f006020965ae8763a0610845c051ed1e3b522 (patch) | |
tree | a2385e218aad8f99902e4994cdc180aa9cff09c2 /ui.cpp | |
parent | efae3da41d821b12d1481de8b8e0b2e105d36ae3 (diff) |
only accept transactions sent by IP address if -allowreceivebyip is specified
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@156 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2186,8 +2186,12 @@ void CSendingDialog::OnReply2(CDataStream& vRecv) if (nRet > 0) { string strMessage; - vRecv >> strMessage; - Error(_("Transfer was not accepted")); + if (!vRecv.empty()) + vRecv >> strMessage; + if (nRet == 2) + Error(_("Recipient is not accepting transactions sent by IP address")); + else + Error(_("Transfer was not accepted")); //// todo: enlarge the window and enable a hidden white box to put seller's message return; } |