channeldb: revocation hashes are 20 bytes

* Although, why not 32?
This commit is contained in:
Olaoluwa Osuntokun committed 2016-01-14 23:56:08 -08:00
1 parent 0d4c78e90d
commit c4af4017da
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -78,7 +78,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 [wire.HashSize]byte
TheirCurrentRevocation [20]byte
TheirShaChain *shachain.HyperShaChain
OurShaChain *shachain.HyperShaChain