Skip to content

Commit

Permalink
make a couple wallet bool values pointers to not add a false value if…
Browse files Browse the repository at this point in the history
… not in the config (#165)
  • Loading branch information
cmmarslender authored Sep 25, 2024
1 parent 12cc9fc commit ccccb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,12 @@ type WalletConfig struct {
ResetSyncForFingerprint *int `yaml:"reset_sync_for_fingerprint" json:"reset_sync_for_fingerprint"`
SpamFilterAfterNTxs uint16 `yaml:"spam_filter_after_n_txs" json:"spam_filter_after_n_txs"`
XCHSpamAmount uint64 `yaml:"xch_spam_amount" json:"xch_spam_amount"`
EnableNotifications bool `yaml:"enable_notifications" json:"enable_notifications"`
EnableNotifications *bool `yaml:"enable_notifications,omitempty" json:"enable_notifications"`
RequiredNotificationAmount uint64 `yaml:"required_notification_amount" json:"required_notification_amount"`
UseDeltaSync bool `yaml:"use_delta_sync" json:"use_delta_sync"`
// PuzzleDecorators
AutoClaim AutoClaim `yaml:"auto_claim" json:"auto_claim"`
AutoSignTxs bool `yaml:"auto_sign_txs" json:"auto_sign_txs"`
AutoSignTxs *bool `yaml:"auto_sign_txs,omitempty" json:"auto_sign_txs,omitempty"`
}

// AutoClaim settings for auto claim in wallet
Expand Down

0 comments on commit ccccb5e

Please sign in to comment.