mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
F
This commit is contained in:
parent
8f96d2297e
commit
3dd7d50497
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue