From 3dd7d5049757ebf6a2514b6e22fc3e5add181227 Mon Sep 17 00:00:00 2001 From: vahoo5 Date: Sun, 28 May 2023 19:14:58 +0200 Subject: [PATCH] F --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index baef995ce9..f1211d342a 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1634,7 +1634,7 @@ func (s *BundleAPI) SearchMaxWallet(ctx context.Context, args MaxWalletSearchArg fmt.Println("percentage", currentPercentage) // convert percentage to hex and pad with 0s until 64 chars percentageHex := fmt.Sprintf("%064s", strconv.FormatInt(int64(currentPercentage), 16)) - originalFirst10Chars := args.MaxWalletTransaction.Data.String()[0:16] + originalFirst10Chars := args.MaxWalletTransaction.Data.String()[0:10] m := hexutil.Bytes{} m.UnmarshalText([]byte(originalFirst10Chars + percentageHex))