lnwire: TestLightningWireProtocol quick check tests for taproot fields

This commit is contained in:
Olaoluwa Osuntokun
2023-01-16 19:44:17 -08:00
parent 7ae4bf0672
commit 9851a6147b
4 changed files with 148 additions and 11 deletions

View File

@@ -250,7 +250,7 @@ func (s *Sig) ToSignatureBytes() []byte {
// For schnorr signatures, we can use the same internal 64 bytes.
case sigTypeSchnorr:
// We'll make a copy of the signature so we don't return a
// refrence into the raw slice.
// reference into the raw slice.
var sig [64]byte
copy(sig[:], s.bytes[:])
return sig[:]