mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-01 11:26:03 +02:00
Remove Safe mode
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
eac067ad59
commit
2ae705d841
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <chain.h>
|
||||
#include <key_io.h>
|
||||
#include <rpc/safemode.h>
|
||||
#include <rpc/server.h>
|
||||
#include <validation.h>
|
||||
#include <script/script.h>
|
||||
@@ -204,7 +203,6 @@ UniValue abortrescan(const JSONRPCRequest& request)
|
||||
+ HelpExampleRpc("abortrescan", "")
|
||||
);
|
||||
|
||||
ObserveSafeMode();
|
||||
if (!pwallet->IsScanning() || pwallet->IsAbortingRescan()) return false;
|
||||
pwallet->AbortRescan();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user