Skip to content

Commit dfc8e14

Browse files
committed
Merge pull request #5309
4574248 [Qt] minor ordering cleanup after new fee selection (Philip Kaufmann) a01fa30 minor style cleanup after HTTP rest interface merge (Philip Kaufmann)
2 parents c24d075 + 4574248 commit dfc8e14

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

src/key.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
#include <stdexcept>
1414
#include <vector>
1515

16-
struct CExtPubKey;
1716
class CPubKey;
1817

18+
struct CExtPubKey;
19+
1920
/**
2021
* secp256k1:
2122
* const unsigned int PRIVATE_KEY_SIZE = 279;

src/qt/sendcoinsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
#include "guiutil.h"
1313
#include "optionsmodel.h"
1414
#include "sendcoinsentry.h"
15-
#include "wallet.h"
1615
#include "walletmodel.h"
1716

1817
#include "base58.h"
1918
#include "coincontrol.h"
2019
#include "ui_interface.h"
20+
#include "wallet.h"
2121

2222
#include <QMessageBox>
2323
#include <QScrollBar>

src/rest.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
// Copyright (c) 2009-2010 Satoshi Nakamoto
2-
// Copyright (c) 2009-2012 The Bitcoin developers
3-
// Distributed under the MIT/X11 software license, see the accompanying
2+
// Copyright (c) 2009-2014 The Bitcoin developers
3+
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

6-
#include <boost/algorithm/string.hpp>
7-
#include "rpcserver.h"
8-
#include "streams.h"
9-
#include "utilstrencodings.h"
106
#include "core/block.h"
117
#include "core/transaction.h"
12-
#include "version.h"
138
#include "main.h"
9+
#include "rpcserver.h"
10+
#include "streams.h"
1411
#include "sync.h"
12+
#include "utilstrencodings.h"
13+
#include "version.h"
14+
15+
#include <boost/algorithm/string.hpp>
1516

1617
using namespace std;
1718
using namespace json_spirit;
@@ -163,7 +164,7 @@ static bool rest_tx(AcceptedConnection *conn,
163164
string strJSON = write_string(Value(objTx), false) + "\n";
164165
conn->stream() << HTTPReply(HTTP_OK, strJSON, fRun) << std::flush;
165166
return true;
166-
}
167+
}
167168
}
168169

169170
// not reached
@@ -203,4 +204,3 @@ bool HTTPReq_REST(AcceptedConnection *conn,
203204
conn->stream() << HTTPError(HTTP_NOT_FOUND, false) << std::flush;
204205
return false;
205206
}
206-

0 commit comments

Comments
 (0)