Skip to content
Snippets Groups Projects
Commit 080f9b3e authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Primitive JSON object verification

parent f1412388
No related branches found
No related tags found
No related merge requests found
...@@ -165,6 +165,7 @@ sub getTransByHash ...@@ -165,6 +165,7 @@ sub getTransByHash
'eth_getTransactionByHash', 'eth_getTransactionByHash',
$hash $hash
); );
die "Invalid object received:\n".Dumper($json) if not exists $json->{'number'};
my $max = 0; my $max = 0;
my $rcpt = undef; my $rcpt = undef;
do { do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment