diff --git a/consensus/consensus_test.go b/consensus/consensus_test.go index ae1c3e1..823c64d 100644 --- a/consensus/consensus_test.go +++ b/consensus/consensus_test.go @@ -36,7 +36,7 @@ func GetClient(strictCheckpointAge bool, sync bool) (*Inner, error) { log.Fatalf("failed to decode checkpoint: %v", err) } - blockSend := make(chan common.Block, 256) + blockSend := make(chan *common.Block, 256) finalizedBlockSend := make(chan *common.Block) channelSend := make(chan *[]byte) diff --git a/go.mod b/go.mod index 7fec929..fc8139a 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,6 @@ require ( github.com/protolambda/bls12-381-util v0.1.0 github.com/spf13/viper v1.19.0 github.com/stretchr/testify v1.9.0 - github.com/ugorji/go/codec v1.2.12 github.com/wealdtech/go-merkletree v1.0.0 golang.org/x/crypto v0.22.0 gopkg.in/yaml.v2 v2.4.0 diff --git a/go.sum b/go.sum index 313ec91..699758a 100644 --- a/go.sum +++ b/go.sum @@ -365,8 +365,6 @@ github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFA github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= -github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= -github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= github.com/wealdtech/go-merkletree v1.0.0 h1:DsF1xMzj5rK3pSQM6mPv8jlyJyHXhFxpnA2bwEjMMBY= github.com/wealdtech/go-merkletree v1.0.0/go.mod h1:cdil512d/8ZC7Kx3bfrDvGMQXB25NTKbsm0rFrmDax4= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=