Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-liu55 committed Jul 23, 2020
1 parent 88f9276 commit 27d2dc4
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions framework/src/main/java/org/tron/core/services/RpcApiService.java
Original file line number Diff line number Diff line change
Expand Up @@ -2560,17 +2560,6 @@ public void getTransactionInfoByBlockNum(NumberMessage request,

responseObserver.onCompleted();
}
}

public class MonitorApi extends MonitorGrpc.MonitorImplBase {

@Override
public void getStatsInfo(EmptyMessage request,
StreamObserver<Protocol.MetricsInfo> responseObserver) {
responseObserver.onNext(metricsApiService.getMetricProtoInfo());
responseObserver.onCompleted();
}


@Override
public void marketSellAsset(MarketSellAssetContract request,
Expand Down Expand Up @@ -2655,4 +2644,16 @@ public void getMarketPairList(EmptyMessage request,
responseObserver.onCompleted();
}
}

public class MonitorApi extends MonitorGrpc.MonitorImplBase {

@Override
public void getStatsInfo(EmptyMessage request,
StreamObserver<Protocol.MetricsInfo> responseObserver) {
responseObserver.onNext(metricsApiService.getMetricProtoInfo());
responseObserver.onCompleted();
}


}
}

0 comments on commit 27d2dc4

Please sign in to comment.