diff options
-rw-r--r-- | lds/api_backend.go | 2 | ||||
-rw-r--r-- | lds/backend.go | 2 |
2 files changed, 2 insertions, 2 deletions
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 } |