lnrpc: fix linter
This commit is contained in:
1 file changed
-1
@@ -426,7 +426,6 @@ func genAttemptWithHash(t *testing.T, attemptID uint64,
|
|||||||
|
|
||||||
// genInfo generates a payment creation info and the corresponding preimage.
|
// genInfo generates a payment creation info and the corresponding preimage.
|
||||||
func genInfo(t *testing.T) (*PaymentCreationInfo, lntypes.Preimage, error) {
|
func genInfo(t *testing.T) (*PaymentCreationInfo, lntypes.Preimage, error) {
|
||||||
|
|
||||||
preimage, _, err := genPreimageAndHash(t)
|
preimage, _, err := genPreimageAndHash(t)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, preimage, err
|
return nil, preimage, err
|
||||||
|
|||||||
Reference in new issue
Block a user