Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Force the write db on getting xpubs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed May 3, 2022
1 parent b03a0fa commit d30dd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model_xpubs.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func getXpub(ctx context.Context, key string, opts ...ModelOps) (*Xpub, error) {
// Get the record
xPub := newXpub(key, opts...)
if err := Get(
ctx, xPub, nil, false, defaultDatabaseReadTimeout, false,
ctx, xPub, nil, false, defaultDatabaseReadTimeout, true,
); err != nil {
if errors.Is(err, datastore.ErrNoResults) {
return nil, nil
Expand Down

0 comments on commit d30dd7a

Please sign in to comment.