swarm: remove unused/dead code (#18351)
This commit is contained in:
committed by
GitHub
parent
335760bf06
commit
9e9fc87e70
@@ -41,10 +41,6 @@ func NewAddressFromBytes(b []byte) Address {
|
||||
return Address(h)
|
||||
}
|
||||
|
||||
func (a Address) IsZero() bool {
|
||||
return a.Bin() == zerosBin
|
||||
}
|
||||
|
||||
func (a Address) String() string {
|
||||
return fmt.Sprintf("%x", a[:])
|
||||
}
|
||||
|
Reference in New Issue
Block a user