diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-01-31 00:39:32 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-01-31 00:42:00 +0800 |
commit | 566d5c0777c2c5ee1a8fe3c0aee1e5c8c69053e2 (patch) | |
tree | d1b99b9caab92cce3f6a6a4f8dcafb66a892e13a /tests | |
parent | 6198c53e28200b3a575f4545cbfa83c585e44b76 (diff) | |
download | dexon-566d5c0777c2c5ee1a8fe3c0aee1e5c8c69053e2.tar.gz dexon-566d5c0777c2c5ee1a8fe3c0aee1e5c8c69053e2.tar.zst dexon-566d5c0777c2c5ee1a8fe3c0aee1e5c8c69053e2.zip |
core, eth, les, light: get rid of redundant methods
Diffstat (limited to 'tests')
-rw-r--r-- | tests/block_test_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 53a5f7fcc..4bfd6433f 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -120,7 +120,7 @@ func (t *BlockTest) Run() error { if err != nil { return err } - cmlast := chain.LastBlockHash() + cmlast := chain.CurrentBlock().Hash() if common.Hash(t.json.BestBlock) != cmlast { return fmt.Errorf("last block hash validation mismatch: want: %x, have: %x", t.json.BestBlock, cmlast) } |