mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01: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:
parent
c37fe88952
commit
6230d01e7b
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user