zpay32: fix linter errors in encode/decode

This commit is contained in:
Conner Fromknecht committed 2020-07-24 13:13:39 -07:00
1 parent 49c601e62a
commit 73256e6d0e
2 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -318,7 +318,7 @@ func parse32Bytes(data []byte) (*[32]byte, error) {
return nil, err
}
copy(paymentHash[:], hash[:])
copy(paymentHash[:], hash)
return &paymentHash, nil
}