aboutsummaryrefslogtreecommitdiffstats
path: root/signer
diff options
context:
space:
mode:
authorChristian Muehlhaeuser <muesli@gmail.com>2019-07-22 18:34:41 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-07-22 18:34:41 +0800
commita32a2b933ad6793a2fe4172cd46c5c5906da259a (patch)
tree310f084204856910fe5448a105b59fc587c5bfdf /signer
parent04e175b8ecc95080742aa8c8be68b155433a13bf (diff)
downloadgo-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.tar
go-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.tar.gz
go-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.tar.bz2
go-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.tar.lz
go-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.tar.xz
go-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.tar.zst
go-tangerine-a32a2b933ad6793a2fe4172cd46c5c5906da259a.zip
cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments (#19869)
Fixed assigning values to variables we don't end up using.
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
)