Skip to content

Commit

Permalink
fix incorrect argument passing in blockParameter of TraceCallMany cla…
Browse files Browse the repository at this point in the history
…ss (hyperledger#6034)

Signed-off-by: seongmin <[email protected]>
Signed-off-by: Gabriel-Trintinalia <[email protected]>
  • Loading branch information
sungmin7465 authored and Gabriel-Trintinalia committed Oct 20, 2023
1 parent 9b96f53 commit 41f6767
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public String getName() {
@Override
protected BlockParameter blockParameter(final JsonRpcRequestContext request) {
final Optional<BlockParameter> maybeBlockParameter =
request.getOptionalParameter(2, BlockParameter.class);
request.getOptionalParameter(1, BlockParameter.class);

if (maybeBlockParameter.isPresent()) {
return maybeBlockParameter.get();
Expand Down

0 comments on commit 41f6767

Please sign in to comment.