fix lint check
This commit is contained in:
parent
fad250058d
commit
32c159fa3a
@ -306,7 +306,7 @@ func (w *LocalWallet) walletDelete(ctx context.Context, addr address.Address) er
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *LocalWallet) deleteDefault() error {
|
func (w *LocalWallet) deleteDefault() {
|
||||||
w.lk.Lock()
|
w.lk.Lock()
|
||||||
defer w.lk.Unlock()
|
defer w.lk.Unlock()
|
||||||
if err := w.keystore.Delete(KDefault); err != nil {
|
if err := w.keystore.Delete(KDefault); err != nil {
|
||||||
@ -314,7 +314,6 @@ func (w *LocalWallet) deleteDefault() error {
|
|||||||
log.Warnf("failed to unregister current default key: %s", err)
|
log.Warnf("failed to unregister current default key: %s", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *LocalWallet) WalletDelete(ctx context.Context, addr address.Address) error {
|
func (w *LocalWallet) WalletDelete(ctx context.Context, addr address.Address) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user