From ea281c9a6755b819f1b625f6b1034aeb52e42dcb Mon Sep 17 00:00:00 2001 From: Sonic Date: Mon, 6 May 2019 15:26:13 +0800 Subject: fixup! lds: rename LightEthereum to LightDexon --- lds/api_backend.go | 2 +- lds/backend.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lds') diff --git a/lds/api_backend.go b/lds/api_backend.go index b4700ff3d..56dfc87aa 100644 --- a/lds/api_backend.go +++ b/lds/api_backend.go @@ -173,7 +173,7 @@ func (b *LdsApiBackend) Downloader() ethapi.Downloader { } func (b *LdsApiBackend) ProtocolVersion() int { - return b.dex.LesVersion() + 10000 + return b.dex.LdsVersion() + 10000 } func (b *LdsApiBackend) SuggestPrice(ctx context.Context) (*big.Int, error) { diff --git a/lds/backend.go b/lds/backend.go index 413e3ca66..ef222aec5 100644 --- a/lds/backend.go +++ b/lds/backend.go @@ -218,7 +218,7 @@ func (s *LightDexon) ResetWithGenesisBlock(gb *types.Block) { func (s *LightDexon) BlockChain() *light.LightChain { return s.blockchain } func (s *LightDexon) TxPool() *light.TxPool { return s.txPool } func (s *LightDexon) Engine() consensus.Engine { return s.engine } -func (s *LightDexon) LesVersion() int { return int(ClientProtocolVersions[0]) } +func (s *LightDexon) LdsVersion() int { return int(ClientProtocolVersions[0]) } func (s *LightDexon) Downloader() ethapi.Downloader { return s.protocolManager.downloader } func (s *LightDexon) EventMux() *event.TypeMux { return s.eventMux } -- cgit v1.2.3