good morning!!!!

Skip to content
Snippets Groups Projects
Commit 4be37e91 authored by Felix Lange's avatar Felix Lange
Browse files

core/types: ensure all EIP155 signer fields are set by deriveSigner

Fixes #3819
parent 1018bf6a
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ var (
// deriveSigner makes a *best* guess about which signer to use.
func deriveSigner(V *big.Int) Signer {
if V.Sign() != 0 && isProtectedV(V) {
return EIP155Signer{chainId: deriveChainId(V)}
return NewEIP155Signer(deriveChainId(V))
} else {
return HomesteadSigner{}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment