From 80fde665ca70eda980cc0b23c30a0b7dfda9688c Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Thu, 30 Jan 2020 16:38:52 +0300 Subject: [PATCH] code format --- object/verification.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/object/verification.go b/object/verification.go index 742375a..a00b30a 100644 --- a/object/verification.go +++ b/object/verification.go @@ -68,10 +68,10 @@ func (m Object) Verify() error { var ( err error checksum []byte - pubkey []byte + pubkey []byte ) ind, ih := m.LastHeader(HeaderType(IntegrityHdr)) - if ih == nil || ind != len(m.Headers) - 1{ + if ih == nil || ind != len(m.Headers)-1 { return ErrHeaderNotFound } integrity := ih.Value.(*Header_Integrity).Integrity