From f454d3fe13bf7ca6b2875c1aef3c1e1fc1877f44 Mon Sep 17 00:00:00 2001 From: koh-gt <101822992+koh-gt@users.noreply.github.com> Date: Fri, 2 Jun 2023 02:31:50 +0800 Subject: [PATCH] Update ferritext.ps1 - rpc connection issues --- ferritext.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ferritext.ps1 b/ferritext.ps1 index e1d8d03..6afa820 100644 --- a/ferritext.ps1 +++ b/ferritext.ps1 @@ -16,10 +16,11 @@ [string] $rpcuser = "user" [string] $rpcpass = "password" [string] $wallet_name = "" # leave as "" for [default wallet] -- wallet.dat +[string] $rpchost = "127.0.0.1" # commands [string] $current_path = $PWD.Path -[string] $ferrite_cli = "$current_path\ferrite-cli -rpcuser=$rpcuser -rpcpassword=$rpcpass" +[string] $ferrite_cli = "$current_path\ferrite-cli -rpcconnect=`"$rpchost`" -rpcuser=$rpcuser -rpcpassword=$rpcpass -testnet" function hex([string] $text){return ([System.Text.Encoding]::UTF8.GetBytes($text) | ForEach-Object { $_.ToString("X2") }) -join ""}