Merge pull request #1518 from mikedoan/fix7

remove redandunt code
pull/1522/head
Minh Doan 5 years ago committed by GitHub
commit 3090eb121c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      hmy/api_backend.go
  2. 5
      internal/configs/sharding/localnet.go

@ -12,7 +12,6 @@ import (
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/rpc"
"github.com/harmony-one/harmony/accounts"
"github.com/harmony-one/harmony/api/proto"
"github.com/harmony-one/harmony/block"

@ -32,11 +32,6 @@ const (
localnetMaxTxPoolSizeLimit = 8000
localnetMaxNumTxsPerBlockLimit = 1000
localnetRecentTxDuration = time.Hour
// LocalNetHTTPPattern is the http pattern for mainnet.
LocalNetHTTPPattern = "http://s%d.t.hmny.io:9500"
// LocalNetWSPattern is the websocket pattern for mainnet.
LocalNetWSPattern = "ws://s%d.t.hmny.io:9800"
)
func (localnetSchedule) InstanceForEpoch(epoch *big.Int) Instance {

Loading…
Cancel
Save