Browse Source

define HUSH_DEBUG to get more info

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

2
lib/Hush/RPC.pm

@ -14,7 +14,7 @@ sub new {
user => $ENV{HUSH_RPC_USERNAME} || "hush",
password => $ENV{HUSH_RPC_PASSWORD} || "hushmegently",
# rpc calls, how do they work?
#debug => 1,
debug => $ENV{HUSH_DEBUG} || 0,
);
my $info = $rpc->getinfo;
if ($info) {

Loading…
Cancel
Save