forked from cerc-io/ipld-eth-server
Refactor block conversion (#38)
Move more of block conversion out of observer
This commit is contained in:
@@ -2,7 +2,6 @@ package integration_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
@@ -44,7 +43,7 @@ var _ = Describe("Reading from the Geth blockchain", func() {
|
||||
firstBlock := <-addedBlock
|
||||
Expect(firstBlock).ShouldNot(BeNil())
|
||||
secondBlock := <-addedBlock
|
||||
Expect(firstBlock.Number.Add(firstBlock.Number, big.NewInt(1))).Should(Equal(secondBlock.Number))
|
||||
Expect(firstBlock.Number + 1).Should(Equal(secondBlock.Number))
|
||||
|
||||
close(done)
|
||||
}, 10)
|
||||
|
||||
Reference in New Issue
Block a user