mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-03 10:12:28 +02:00
channeldb: stored un-revoked hashes are now 32 bytes
This commit is contained in:
@@ -135,7 +135,7 @@ type OpenChannel struct {
|
||||
// Current revocation for their commitment transaction. However, since
|
||||
// this is the hash, and not the pre-image, we can't yet verify that
|
||||
// it's actually in the chain.
|
||||
TheirCurrentRevocation [20]byte
|
||||
TheirCurrentRevocation [32]byte
|
||||
LocalElkrem *elkrem.ElkremSender
|
||||
RemoteElkrem *elkrem.ElkremReceiver
|
||||
|
||||
|
@@ -35,7 +35,7 @@ var (
|
||||
},
|
||||
Index: 9,
|
||||
}
|
||||
rev = [20]byte{
|
||||
rev = [wire.HashSize]byte{
|
||||
0x51, 0xb6, 0x37, 0xd8, 0xfc, 0xd2, 0xc6, 0xda,
|
||||
0x48, 0x59, 0xe6, 0x96, 0x31, 0x13, 0xa1, 0x17,
|
||||
0x2d, 0xe7, 0x93, 0xe4,
|
||||
|
Reference in New Issue
Block a user