From 0684430320e661d496bc3f11641d7107a1ebfbe2 Mon Sep 17 00:00:00 2001 From: jimjimmiejames <112971081+jimjimmiejames@users.noreply.github.com> Date: Wed, 7 Dec 2022 22:22:42 -0700 Subject: [PATCH] Update rpcuser.py - updates to python3 - fixes strain bitcoin filename to reflect dogecoin Update line 39 --- share/rpcuser/rpcuser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/rpcuser/rpcuser.py b/share/rpcuser/rpcuser.py index 63c69e308..1b199e0d8 100755 --- a/share/rpcuser/rpcuser.py +++ b/share/rpcuser/rpcuser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -36,6 +36,6 @@ if sys.version_info.major >= 3: m = hmac.new(bytearray(salt, 'utf-8'), bytearray(password, 'utf-8'), digestmod) result = m.hexdigest() -print("String to be appended to bitcoin.conf:") +print("String to be appended to dogecoin.conf") print("rpcauth="+username+":"+salt+"$"+result) print("Your password:\n"+password)