multi: fix linter
This commit is contained in:
parent
6ff982ccdc
commit
742d879352
3 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
}()
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue