Commit 0fb042b3 authored by dcw312's avatar dcw312 Committed by Andreas Schildbach

H2FullPrunedBlockStore: Fix issue #1260: the h2 prefix and params are...

H2FullPrunedBlockStore: Fix issue #1260: the h2 prefix and params are prepended twice using this constructor. Only prepend when calling the super constructor.
parent 5108bebe
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment