Skip to content

Commit

Permalink
Remove unused debug function
Browse files Browse the repository at this point in the history
  • Loading branch information
piersy committed Dec 15, 2021
1 parent b428549 commit 704ec7d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (

"github.com/celo-org/celo-blockchain/accounts/keystore"
"github.com/celo-org/celo-blockchain/common"
"github.com/celo-org/celo-blockchain/common/hexutil"
"github.com/celo-org/celo-blockchain/consensus/istanbul"
"github.com/celo-org/celo-blockchain/consensus/istanbul/backend"
"github.com/celo-org/celo-blockchain/core"
Expand Down Expand Up @@ -237,11 +236,6 @@ func (n *Node) Start() error {
return nil
}

// Provides a short representation of a hash
func shortAddress(a common.Address) string {
return hexutil.Encode(a[:2])
}

func (n *Node) AddPeers(nodes ...*Node) {
// Add the given nodes as peers. Although this means that nodes can reach
// each other nodes don't start sending consensus messages to another node
Expand Down

0 comments on commit 704ec7d

Please sign in to comment.