Skip to content

Commit b055438

Browse files
author
Ivan Sukach
committed
remove comments of source code
1 parent e04f864 commit b055438

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

cmd/main.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -268,17 +268,6 @@ func runNodes(log logging.Logger, binaryPath string, genesis []byte, nw network.
268268
grpcPort++
269269
}
270270

271-
//sk, err := bls.NewSecretKey()
272-
//if err != nil {
273-
// return nil, ids.Empty, err
274-
//}
275-
//
276-
//skBytes := bls.SecretKeyToBytes(sk)
277-
//
278-
//chainConfig := vmtypes.Config{
279-
// VMConfig: vmtypes.VMConfig{BLSSecretKey: skBytes},
280-
//}
281-
282271
chains, err := nw.CreateBlockchains(context.Background(), []network.BlockchainSpec{
283272
{
284273
VMName: "landslidevm",

internal/kvstore.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,6 @@ func WARPGetMessageSignature(warpClient Client, networkID uint32, chainID ids.ID
307307
log.Fatal("failed to warp get message", zap.Error(err))
308308
return
309309
}
310-
//secretKey, err := bls.SecretKeyFromBytes([]byte(bftrand.Str(24)))
311-
//if err != nil {
312-
// log.Fatal("failed to parse secret key from bytes", zap.Error(err))
313-
// return
314-
//}
315310
warpSigner := warp.NewSigner(secretKey, networkID, chainID)
316311
expectedMsgSignature, err := warpSigner.Sign(msg)
317312
if err != nil {

0 commit comments

Comments
 (0)