From 4983e4846cc95b267531e78a4988706bb256078f Mon Sep 17 00:00:00 2001 From: dhrubabasu <7675102+dhrubabasu@users.noreply.github.com> Date: Thu, 8 Feb 2024 10:46:15 -0800 Subject: [PATCH] nit --- service/service_construction.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/service/service_construction.go b/service/service_construction.go index f4330d24..340fcdb0 100644 --- a/service/service_construction.go +++ b/service/service_construction.go @@ -1428,10 +1428,6 @@ func (s ConstructionService) CreateGenericContractCallOperationDescription(opera return nil, errors.New("for generic call both values should be zero") } - return s.createOperationDescriptionContractCall(), nil -} - -func (ConstructionService) createOperationDescriptionContractCall() []*parser.OperationDescription { return []*parser.OperationDescription{ { Type: mapper.OpCall, @@ -1453,7 +1449,7 @@ func (ConstructionService) createOperationDescriptionContractCall() []*parser.Op Sign: parser.AnyAmountSign, }, }, - } + }, nil } func generateErc20TransferData(toAddress string, value *big.Int) []byte {