mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
lnwire: TestLightningWireProtocol quick check tests for taproot fields
This commit is contained in:
@@ -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[:]
|
||||
|
Reference in New Issue
Block a user