gofmt
This commit is contained in:
parent
3d1a5f4bf3
commit
3cab8bd5d1
@ -87,7 +87,7 @@ func (k *KeyManager) newBLSKey() *wallet.Key {
|
|||||||
//sk := ffi.PrivateKeyGenerate(s.blsSeed)
|
//sk := ffi.PrivateKeyGenerate(s.blsSeed)
|
||||||
// s.blsSeed++
|
// s.blsSeed++
|
||||||
sk := [32]byte{}
|
sk := [32]byte{}
|
||||||
sk[0] = uint8(k.blsSeed+1) // hack to keep gas values determinist
|
sk[0] = uint8(k.blsSeed + 1) // hack to keep gas values determinist
|
||||||
key, err := wallet.NewKey(types.KeyInfo{
|
key, err := wallet.NewKey(types.KeyInfo{
|
||||||
Type: wallet.KTBLS,
|
Type: wallet.KTBLS,
|
||||||
PrivateKey: sk[:],
|
PrivateKey: sk[:],
|
||||||
|
1
go.mod
1
go.mod
@ -85,7 +85,6 @@ require (
|
|||||||
github.com/multiformats/go-multiaddr-dns v0.2.0
|
github.com/multiformats/go-multiaddr-dns v0.2.0
|
||||||
github.com/multiformats/go-multiaddr-net v0.1.2
|
github.com/multiformats/go-multiaddr-net v0.1.2
|
||||||
github.com/multiformats/go-multihash v0.0.13
|
github.com/multiformats/go-multihash v0.0.13
|
||||||
github.com/multiformats/go-varint v0.0.5
|
|
||||||
github.com/opentracing/opentracing-go v1.1.0
|
github.com/opentracing/opentracing-go v1.1.0
|
||||||
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829
|
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829
|
||||||
github.com/prometheus/common v0.4.0
|
github.com/prometheus/common v0.4.0
|
||||||
|
Loading…
Reference in New Issue
Block a user