Skip to content

Commit

Permalink
fixing sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
asoto-iov committed May 17, 2024
1 parent a14de53 commit 1f27b8a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
import co.rsk.mine.gas.provider.StableMinGasPriceProvider;

public class OnChainMinGasPriceProvider extends StableMinGasPriceProvider {
private final String address;

OnChainMinGasPriceProvider(MinGasPriceProvider fallBackProvider, OnChainMinGasPriceSystemConfig config) {
protected OnChainMinGasPriceProvider(MinGasPriceProvider fallBackProvider, OnChainMinGasPriceSystemConfig config) {
super(fallBackProvider);
this.address = config.getAddress();
}

@Override
Expand All @@ -20,4 +22,8 @@ public MinGasPriceProviderType getType() {
public Long getStableMinGasPrice() {
return null;
}

public String getAddress() {
return address;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package co.rsk.net;

public class SnapshotProcessorClientTest {


}

0 comments on commit 1f27b8a

Please sign in to comment.