Skip to content

Commit

Permalink
Remove another cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashatyrev committed Dec 8, 2016
1 parent ec8813b commit 0d37bef
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -73,9 +73,9 @@ public Repository repository(byte[] stateRoot) {

@Bean
public StateSource stateSource() {
Source<byte[], byte[]> stateDS = stateDS();
DbSource<byte[]> stateDS = stateDS();
fastSyncCleanUp();
StateSource stateSource = new StateSource((BatchSource<byte[], byte[]>) stateDS,
StateSource stateSource = new StateSource(stateDS,
systemProperties().databasePruneDepth() >= 0);

dbFlushManager().addCache(stateSource.getWriteCache());
Expand Down

0 comments on commit 0d37bef

Please sign in to comment.