ethstate => state
This commit is contained in:
@ -3,8 +3,8 @@ package chain
|
||||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/ethstate"
|
||||
"github.com/ethereum/go-ethereum/ethutil"
|
||||
"github.com/ethereum/go-ethereum/state"
|
||||
)
|
||||
|
||||
func CreateBloom(block *Block) []byte {
|
||||
@ -17,7 +17,7 @@ func CreateBloom(block *Block) []byte {
|
||||
return bin.Bytes()
|
||||
}
|
||||
|
||||
func LogsBloom(logs ethstate.Logs) *big.Int {
|
||||
func LogsBloom(logs state.Logs) *big.Int {
|
||||
bin := new(big.Int)
|
||||
for _, log := range logs {
|
||||
data := [][]byte{log.Address}
|
||||
|
Reference in New Issue
Block a user