diff options
author | bas-vk <bas-vk@users.noreply.github.com> | 2017-01-21 06:32:16 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-01-21 06:32:16 +0800 |
commit | 0126d014351bc4f58e2d7e6564a054fb80f87153 (patch) | |
tree | e1af30aa2d59a3e012d004d73d90010d9794abe1 /core/types/transaction_signing.go | |
parent | 946db8ba6547e5b18c5af701eb0e9e49a4298cbe (diff) | |
download | go-tangerine-0126d014351bc4f58e2d7e6564a054fb80f87153.tar.gz go-tangerine-0126d014351bc4f58e2d7e6564a054fb80f87153.tar.zst go-tangerine-0126d014351bc4f58e2d7e6564a054fb80f87153.zip |
types: bugfix invalid V derivation on tx json unmarshal (#3594)
Diffstat (limited to 'core/types/transaction_signing.go')
-rw-r--r-- | core/types/transaction_signing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go index 4ebc789a5..7d7b63e9f 100644 --- a/core/types/transaction_signing.go +++ b/core/types/transaction_signing.go @@ -160,7 +160,7 @@ func (s EIP155Signer) PublicKey(tx *Transaction) ([]byte, error) { // needs to be in the [R || S || V] format where V is 0 or 1. func (s EIP155Signer) WithSignature(tx *Transaction, sig []byte) (*Transaction, error) { if len(sig) != 65 { - panic(fmt.Sprintf("wrong size for snature: got %d, want 65", len(sig))) + panic(fmt.Sprintf("wrong size for signature: got %d, want 65", len(sig))) } cpy := &Transaction{data: tx.data} |