From 9b6b54f07a6c0c5882b61feda7f851246726564e Mon Sep 17 00:00:00 2001 From: Christopher Franko Date: Tue, 13 Oct 2015 12:34:48 -0400 Subject: [PATCH] wasnt he last but close --- jsre/expanse_js.go | 2 +- rpc/api/eth.go | 4 ++-- tests/block_test_util.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jsre/expanse_js.go b/jsre/expanse_js.go index aa46a776fd..2d5c685b40 100644 --- a/jsre/expanse_js.go +++ b/jsre/expanse_js.go @@ -6081,7 +6081,7 @@ module.exports = IsSyncing; },{"../utils/utils":20,"./formatters":29,"./method":35,"./requestmanager":43}],45:[function(require,module,exports){ /* - This file is part of ethereum.js. + This file is part of expanse.js. ethereum.js is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by diff --git a/rpc/api/eth.go b/rpc/api/eth.go index b187b5a9d2..4434524089 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -216,8 +216,8 @@ func (self *ethApi) IsMining(req *shared.Request) (interface{}, error) { } func (self *ethApi) IsSyncing(req *shared.Request) (interface{}, error) { - current := self.ethereum.ChainManager().CurrentBlock().NumberU64() - origin, height := self.ethereum.Downloader().Boundaries() + current := self.expanse.ChainManager().CurrentBlock().NumberU64() + origin, height := self.expanse.Downloader().Boundaries() if current < height { return map[string]interface{}{ diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 3ac6a5fc9b..cf5ad8b62f 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -183,7 +183,7 @@ func runBlockTest(test *BlockTest) error { } - cm := ethereum.ChainManager() + cm := expanse.ChainManager() validBlocks, err := test.TryBlocksInsert(cm) if err != nil { return err