Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #652: Create walletdb with no-freelist-sync option #661

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angrypie
Copy link

@angrypie angrypie commented Nov 9, 2019

Fix #652

@@ -219,7 +219,7 @@ func createSimulationWallet(cfg *config) error {
fmt.Println("Creating the wallet...")

// Create the wallet database backed by bolt db.
db, err := walletdb.Create("bdb", dbPath)
db, err := walletdb.Create("bdb", dbPath, true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than always set it, this should be read as a new config argument.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean creating new such argument in the application config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no-freelist-sync option not passed to RPC when creating a temp wallet via btcd
2 participants