mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-22 22:54:33 +00:00
Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
This commit is contained in:
parent
da624be994
commit
0c57a6c64c
1 changed files with 1 additions and 3 deletions
|
|
@ -28,8 +28,6 @@ import (
|
|||
"github.com/XinFinOrg/XDPoSChain/ethdb"
|
||||
)
|
||||
|
||||
var toAddr = common.BytesToAddress
|
||||
|
||||
type stateTest struct {
|
||||
db ethdb.Database
|
||||
state *StateDB
|
||||
|
|
@ -107,7 +105,7 @@ func TestNull(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestSnapshot(t *testing.T) {
|
||||
stateobjaddr := toAddr([]byte("aa"))
|
||||
stateobjaddr := common.BytesToAddress([]byte("aa"))
|
||||
var storageaddr common.Hash
|
||||
data1 := common.BytesToHash([]byte{42})
|
||||
data2 := common.BytesToHash([]byte{43})
|
||||
|
|
|
|||
Loading…
Reference in a new issue