We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in the file of waddrmgr/scoped_manager.go at line 1246:
watchOnly := s.rootManager.WatchOnly() || acctInfo.acctKeyPriv != nil if !s.rootManager.IsLocked() && !watchOnly { acctKey = acctInfo.acctKeyPriv }
would it be written as this:
watchOnly := s.rootManager.WatchOnly() || len(acctInfo.acctKeyPriv) == 0 if !s.rootManager.IsLocked() && !watchOnly { acctKey = acctInfo.acctKeyPriv }
The text was updated successfully, but these errors were encountered:
In this context, both variants are equivalent. Do you have a test case demonstrating otherwise?
Sorry, something went wrong.
acctInfo.acctKeyPriv != nil is completed different with len(acctInfo.acctKeyPriv) == 0
No branches or pull requests
in the file of waddrmgr/scoped_manager.go at line 1246:
would it be written as this:
The text was updated successfully, but these errors were encountered: