adding parity mode

This commit is contained in:
Lotfi zaouche 2020-03-26 08:45:23 +00:00
parent 2b17471e73
commit 553463a684
1 changed files with 3 additions and 2 deletions

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'net' => 'blockchain::parity::restapi::mode::net',
'eth' => 'blockchain::parity::restapi::mode::eth',
'net' => 'blockchain::parity::restapi::mode::net',
'eth' => 'blockchain::parity::restapi::mode::eth',
'parity' => 'blockchain::parity::restapi::mode::parity'
);
$self->{custom_modes}{api} = 'blockchain::parity::restapi::custom::api';
return $self;