mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +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
5108bebe3f
commit
0fb042b38f
@@ -101,7 +101,7 @@ public class H2FullPrunedBlockStore extends DatabaseFullPrunedBlockStore {
|
||||
*/
|
||||
public H2FullPrunedBlockStore(NetworkParameters params, String dbName, int fullStoreDepth)
|
||||
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