Skip to content

Commit ff28e21

Browse files
authored
chore: remove unused min func (#1506)
Signed-off-by: joemicky <joemickychang@outlook.com>
1 parent b31a272 commit ff28e21

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

sdk/abi_decode.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,6 @@ var (
117117
// Address is an Ethereum address
118118
type Address [20]byte
119119

120-
func min(i, j int) int {
121-
if i < j {
122-
return i
123-
}
124-
return j
125-
}
126-
127120
// BytesToAddress converts bytes to an address object
128121
func BytesToAddress(b []byte) Address {
129122
var a Address

0 commit comments

Comments
 (0)