possible fix for travis error

This commit is contained in:
Ian Norden 2019-08-05 19:14:05 -05:00
parent 90d685a763
commit e72995605d
3 changed files with 4 additions and 6 deletions

4
go.mod
View File

@ -90,7 +90,9 @@ require (
gopkg.in/yaml.v2 v2.2.2 gopkg.in/yaml.v2 v2.2.2
) )
replace github.com/ipfs/go-ds-badger v0.0.5 => github.com/ipfs/go-ds-badger v0.0.3 replace github.com/dgraph-io/badger v2.0.0-rc.2+incompatible => github.com/dgraph-io/badger/v2 v2.0.0-rc.2
replace github.com/dgraph-io/badger/v2 v2.0.0-rc2 => github.com/dgraph-io/badger v1.6.0-rc1
replace github.com/ipfs/go-ipfs v0.4.21 => github.com/vulcanize/go-ipfs v0.4.22-alpha replace github.com/ipfs/go-ipfs v0.4.21 => github.com/vulcanize/go-ipfs v0.4.22-alpha

View File

@ -76,7 +76,7 @@ var _ = Describe("Conversion of GethBlock to core.Block", func() {
Expect(coreBlock.ParentHash).To(Equal(block.ParentHash().Hex())) Expect(coreBlock.ParentHash).To(Equal(block.ParentHash().Hex()))
Expect(coreBlock.ExtraData).To(Equal(hexutil.Encode(block.Extra()))) Expect(coreBlock.ExtraData).To(Equal(hexutil.Encode(block.Extra())))
Expect(coreBlock.Size).To(Equal(block.Size().String())) Expect(coreBlock.Size).To(Equal(block.Size().String()))
Expect(coreBlock.Time).To(Equal(time)) Expect(coreBlock.Time).To(Equal(int64(time)))
Expect(coreBlock.UncleHash).To(Equal(block.UncleHash().Hex())) Expect(coreBlock.UncleHash).To(Equal(block.UncleHash().Hex()))
Expect(coreBlock.IsFinal).To(BeFalse()) Expect(coreBlock.IsFinal).To(BeFalse())
}) })

View File

@ -151,10 +151,6 @@ func (sap *Service) SyncAndPublish(wg *sync.WaitGroup, screenAndServePayload cha
for { for {
select { select {
case payload := <-sap.PayloadChan: case payload := <-sap.PayloadChan:
if payload.Err != nil {
log.Error(err)
continue
}
ipldPayload, err := sap.Converter.Convert(payload) ipldPayload, err := sap.Converter.Convert(payload)
if err != nil { if err != nil {
log.Error(err) log.Error(err)