mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
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() {
|
go func() {
|
||||||
res, err := http.Get(srv.URL)
|
res, err := http.Get(srv.URL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Log(err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
codes <- res.StatusCode
|
codes <- res.StatusCode
|
||||||
}()
|
}()
|
||||||
|
|
|
@ -1213,7 +1213,9 @@ type SpentnessNotificationsResponse struct {
|
||||||
func (m *SpentnessNotificationsResponse) Reset() { *m = SpentnessNotificationsResponse{} }
|
func (m *SpentnessNotificationsResponse) Reset() { *m = SpentnessNotificationsResponse{} }
|
||||||
func (m *SpentnessNotificationsResponse) String() string { return proto.CompactTextString(m) }
|
func (m *SpentnessNotificationsResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*SpentnessNotificationsResponse) ProtoMessage() {}
|
func (*SpentnessNotificationsResponse) ProtoMessage() {}
|
||||||
func (*SpentnessNotificationsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
|
func (*SpentnessNotificationsResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor0, []int{36}
|
||||||
|
}
|
||||||
|
|
||||||
func (m *SpentnessNotificationsResponse) GetTransactionHash() []byte {
|
func (m *SpentnessNotificationsResponse) GetTransactionHash() []byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
|
|
|
@ -1783,10 +1783,10 @@ func Create(ns walletdb.ReadWriteBucket,
|
||||||
|
|
||||||
pubParams := masterKeyPub.Marshal()
|
pubParams := masterKeyPub.Marshal()
|
||||||
|
|
||||||
var privParams []byte = nil
|
var privParams []byte
|
||||||
var masterKeyPriv *snacl.SecretKey
|
var masterKeyPriv *snacl.SecretKey
|
||||||
var cryptoKeyPrivEnc []byte = nil
|
var cryptoKeyPrivEnc []byte
|
||||||
var cryptoKeyScriptEnc []byte = nil
|
var cryptoKeyScriptEnc []byte
|
||||||
if !isWatchingOnly {
|
if !isWatchingOnly {
|
||||||
masterKeyPriv, err = newSecretKey(&privPassphrase, config)
|
masterKeyPriv, err = newSecretKey(&privPassphrase, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue