zpay32: fix linter errors in encode/decode
This commit is contained in:
2 files changed
+4
-5
No files matched your search
+1
-1
@@ -318,7 +318,7 @@ func parse32Bytes(data []byte) (*[32]byte, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
copy(paymentHash[:], hash[:])
|
||||
copy(paymentHash[:], hash)
|
||||
|
||||
return &paymentHash, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user