Bitcoin-Qt: fixes for using display unit from options
- extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
This commit is contained in:
@@ -58,7 +58,8 @@ void PaymentServerTests::paymentServerTests()
|
||||
X509_STORE* caStore = X509_STORE_new();
|
||||
X509_STORE_add_cert(caStore, parse_b64der_cert(caCert_BASE64));
|
||||
PaymentServer::LoadRootCAs(caStore);
|
||||
server->initNetManager(optionsModel);
|
||||
server->setOptionsModel(&optionsModel);
|
||||
server->initNetManager();
|
||||
server->uiReady();
|
||||
|
||||
// Now feed PaymentRequests to server, and observe signals it produces:
|
||||
|
||||
Reference in New Issue
Block a user