From 3d3c1dbbb47b95fd7cf18538995e2e011660022f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 6 Feb 2020 20:56:35 +0100 Subject: [PATCH] import key algs in wallet --- chain/wallet/wallet.go | 4 ++++ cmd/lotus-seed/main.go | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/chain/wallet/wallet.go b/chain/wallet/wallet.go index 3e5d506a8..df860b045 100644 --- a/chain/wallet/wallet.go +++ b/chain/wallet/wallet.go @@ -10,6 +10,10 @@ import ( "golang.org/x/xerrors" "github.com/filecoin-project/go-address" + + _ "github.com/filecoin-project/lotus/lib/sigs/bls" + _ "github.com/filecoin-project/lotus/lib/sigs/secp" + "github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/lib/sigs" ) diff --git a/cmd/lotus-seed/main.go b/cmd/lotus-seed/main.go index f6e351508..3480619d7 100644 --- a/cmd/lotus-seed/main.go +++ b/cmd/lotus-seed/main.go @@ -1,15 +1,12 @@ package main import ( + "encoding/json" "fmt" "os" "path/filepath" - "encoding/json" - sectorbuilder "github.com/filecoin-project/go-sectorbuilder" - _ "github.com/filecoin-project/lotus/lib/sigs/bls" - _ "github.com/filecoin-project/lotus/lib/sigs/secp" "github.com/ipfs/go-datastore" "github.com/ipfs/go-datastore/namespace" @@ -20,6 +17,7 @@ import ( "gopkg.in/urfave/cli.v2" "github.com/filecoin-project/go-address" + "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/cmd/lotus-seed/seed" "github.com/filecoin-project/lotus/genesis"