From bd6321d2c0aeb244815016fbf4723ee9720fe6cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 25 Jan 2021 15:35:00 +0100 Subject: [PATCH] Fix lint --- chain/gen/mining.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/gen/mining.go b/chain/gen/mining.go index cb1c02772..99f9745ac 100644 --- a/chain/gen/mining.go +++ b/chain/gen/mining.go @@ -157,12 +157,12 @@ func aggregateSignatures(sigs []crypto.Signature) (*crypto.Signature, error) { // be returned return &crypto.Signature{ Type: crypto.SigTypeBLS, - Data: ([]byte)(new(bls.Signature)[:]), // TODO: verify this is okay + Data: new(bls.Signature)[:], // TODO: verify this is okay }, nil } return &crypto.Signature{ Type: crypto.SigTypeBLS, - Data: ([]byte)(aggSig[:]), + Data: aggSig[:], }, nil }