Browse Source

Pass options to RPC, so we can tell it to use testnet

master
Jonathan "Duke" Leto 7 years ago
parent
commit
11c2a8a300
  1. 3
      lib/Hush/List.pm

3
lib/Hush/List.pm

@ -25,8 +25,9 @@ sub _sanity_checks {
}
sub new {
my ($options) = @_;
my $hush_list = {};
my $rpc = Hush::RPC->new;
my $rpc = Hush::RPC->new($options);
# we only need a single RPC connection
$hush_list->{rpc} = $rpc;

Loading…
Cancel
Save