Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Aug 6, 2019
1 parent a9e0327 commit e5dc3fa
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ public JsonRpcResponse response(final JsonRpcRequest request) {
.collect(
Collectors.toMap(
account -> account.getAddressHash().toString(),
account -> account.getAddress().toString())),
account -> {
if (account.getAddress().isPresent()) {
return account.getAddress().get().toString();
} else {
return "null";
}
})),
nextKey.toString()));
}
}
Expand Down

0 comments on commit e5dc3fa

Please # to comment.