Browse Source

allow custom port so we can use testnet

master
Jonathan "Duke" Leto 7 years ago
parent
commit
3fb09e30c5
  1. 3
      lib/Hush/RPC.pm

3
lib/Hush/RPC.pm

@ -8,7 +8,8 @@ sub new {
user => $ENV{HUSH_RPC_USERNAME} || "hush",
password => $ENV{HUSH_RPC_PASSWORD} || "puppy",
host => "127.0.0.1",
port => 8822,
# set this to 18822 to use testnet
port => $ENV{HUSH_RPC_PORT} || 8822,
);
return $rpc,
}

Loading…
Cancel
Save