mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Add support for opening bitcoin: URIs directly.
This commit is contained in:
@@ -272,7 +272,7 @@ bool AppInit2(int argc, char* argv[])
|
||||
|
||||
#ifndef QT_GUI
|
||||
for (int i = 1; i < argc; i++)
|
||||
if (!IsSwitchChar(argv[i][0]))
|
||||
if (!IsSwitchChar(argv[i][0]) && !(strlen(argv[i]) > 7 && strncasecmp(argv[i], "bitcoin:", 8) == 0))
|
||||
fCommandLine = true;
|
||||
|
||||
if (fCommandLine)
|
||||
|
||||
Reference in New Issue
Block a user