aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/usbwallet/ledger.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/usbwallet/ledger.go')
-rw-r--r--accounts/usbwallet/ledger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/usbwallet/ledger.go b/accounts/usbwallet/ledger.go
index 2583fbc4d..7d5f67908 100644
--- a/accounts/usbwallet/ledger.go
+++ b/accounts/usbwallet/ledger.go
@@ -350,7 +350,7 @@ func (w *ledgerDriver) ledgerSign(derivationPath []uint32, tx *types.Transaction
signer = new(types.HomesteadSigner)
} else {
signer = types.NewEIP155Signer(chainID)
- signature[64] = signature[64] - byte(chainID.Uint64()*2+35)
+ signature[64] -= byte(chainID.Uint64()*2 + 35)
}
signed, err := tx.WithSignature(signer, signature)
if err != nil {