Skip to content

Commit 34fbe5a

Browse files
committed
fix: don't append "0x" prefix when searching address by ens name
1 parent 2dda099 commit 34fbe5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/pkg/api/data_access/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (d *DataAccessService) GetSearchAddressByEnsName(ctx context.Context, chain
182182
}
183183
return &t.SearchAddress{
184184
Address: t.Address{
185-
Hash: t.Hash("0x" + hexutil.Encode(addressBytes)),
185+
Hash: t.Hash(hexutil.Encode(addressBytes)),
186186
Ens: ensName,
187187
},
188188
}, nil

0 commit comments

Comments
 (0)