Skip to content

Commit

Permalink
This PR should put back a missing piece of code that I accidentally r…
Browse files Browse the repository at this point in the history
…emoved (hyperledger#3617)

Signed-off-by: Jiri Peinlich <[email protected]>
  • Loading branch information
gezero authored and garyschulte committed May 2, 2022
1 parent 043f5bb commit 79587a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public enum KeyValueSegmentIdentifier implements SegmentIdentifier {
TRIE_BRANCH_STORAGE(new byte[] {9}, new int[] {2}),
TRIE_LOG_STORAGE(new byte[] {10}, new int[] {2}),
GOQUORUM_PRIVATE_WORLD_STATE(new byte[] {11}),
GOQUORUM_PRIVATE_STORAGE(new byte[] {12}),
BACKWARD_SYNC_HEADERS(new byte[] {13}),
BACKWARD_SYNC_BLOCKS(new byte[] {14});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public WorldStatePreimageStorage createPrivateWorldStatePreimageStorage() {
@Override
public GoQuorumPrivateStorage createGoQuorumPrivateStorage() {
return new GoQuorumPrivateKeyValueStorage(
getStorageBySegmentIdentifier(KeyValueSegmentIdentifier.BACKWARD_SYNC_HEADERS));
getStorageBySegmentIdentifier(KeyValueSegmentIdentifier.GOQUORUM_PRIVATE_STORAGE));
}

@Override
Expand Down

0 comments on commit 79587a0

Please sign in to comment.