mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 05:27:17 +00:00
H2FullPrunedBlockStore: Fix issue #1260: the h2 prefix and params are prepended twice using this constructor. Only prepend when calling the super constructor.
This commit is contained in:
committed by
Andreas Schildbach
parent
c37fe88952
commit
6230d01e7b
@@ -101,7 +101,7 @@ public class H2FullPrunedBlockStore extends DatabaseFullPrunedBlockStore {
|
|||||||
*/
|
*/
|
||||||
public H2FullPrunedBlockStore(NetworkParameters params, String dbName, int fullStoreDepth)
|
public H2FullPrunedBlockStore(NetworkParameters params, String dbName, int fullStoreDepth)
|
||||||
throws BlockStoreException {
|
throws BlockStoreException {
|
||||||
this(params, DATABASE_CONNECTION_URL_PREFIX + dbName + ";create=true;LOCK_TIMEOUT=60000;DB_CLOSE_ON_EXIT=FALSE", null, null, fullStoreDepth);
|
this(params, dbName, null, null, fullStoreDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user