multi: fix linter

This commit is contained in:
Wilmer Paulino 2021-02-22 17:52:30 -08:00
parent 6ff982ccdc
commit 742d879352
No known key found for this signature in database
GPG key ID: 6DF57B9F9514972F
3 changed files with 11 additions and 8 deletions

View file

@ -26,7 +26,8 @@ func TestThrottle(t *testing.T) {
go func() {
res, err := http.Get(srv.URL)
if err != nil {
t.Fatal(err)
t.Log(err)
return
}
codes <- res.StatusCode
}()

View file

@ -1210,10 +1210,12 @@ type SpentnessNotificationsResponse struct {
Spender *SpentnessNotificationsResponse_Spender `protobuf:"bytes,3,opt,name=spender" json:"spender,omitempty"`
}
func (m *SpentnessNotificationsResponse) Reset() { *m = SpentnessNotificationsResponse{} }
func (m *SpentnessNotificationsResponse) String() string { return proto.CompactTextString(m) }
func (*SpentnessNotificationsResponse) ProtoMessage() {}
func (*SpentnessNotificationsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
func (m *SpentnessNotificationsResponse) Reset() { *m = SpentnessNotificationsResponse{} }
func (m *SpentnessNotificationsResponse) String() string { return proto.CompactTextString(m) }
func (*SpentnessNotificationsResponse) ProtoMessage() {}
func (*SpentnessNotificationsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{36}
}
func (m *SpentnessNotificationsResponse) GetTransactionHash() []byte {
if m != nil {

View file

@ -1783,10 +1783,10 @@ func Create(ns walletdb.ReadWriteBucket,
pubParams := masterKeyPub.Marshal()
var privParams []byte = nil
var privParams []byte
var masterKeyPriv *snacl.SecretKey
var cryptoKeyPrivEnc []byte = nil
var cryptoKeyScriptEnc []byte = nil
var cryptoKeyPrivEnc []byte
var cryptoKeyScriptEnc []byte
if !isWatchingOnly {
masterKeyPriv, err = newSecretKey(&privPassphrase, config)
if err != nil {