aboutsummaryrefslogtreecommitdiffstats
path: root/signer
diff options
context:
space:
mode:
Diffstat (limited to 'signer')
-rw-r--r--signer/core/signed_data.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/signer/core/signed_data.go b/signer/core/signed_data.go
index 4d19ca710..f512be7ce 100644
--- a/signer/core/signed_data.go
+++ b/signer/core/signed_data.go
@@ -484,7 +484,7 @@ func (typedData *TypedData) EncodeData(primaryType string, data map[string]inter
func parseInteger(encType string, encValue interface{}) (*big.Int, error) {
var (
- length = 0
+ length int
signed = strings.HasPrefix(encType, "int")
b *big.Int
)