mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix the typo in the 'signer' folder and the 'cmd' folder.
This commit is contained in:
parent
d05dd27afb
commit
ec22236746
3 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ which can
|
||||||
|
|
||||||
### Specification
|
### Specification
|
||||||
|
|
||||||
The idea is to specify the behaviour of this binary very _strict_, so that other
|
The idea is to specify the behaviour of this binary very _strictly_, so that other
|
||||||
node implementors can build replicas based on their own state-machines, and the
|
node implementors can build replicas based on their own state-machines, and the
|
||||||
state generators can swap between a \`geth\`-based implementation and a \`parityvm\`-based
|
state generators can swap between a \`geth\`-based implementation and a \`parityvm\`-based
|
||||||
implementation.
|
implementation.
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ func parseCallData(calldata []byte, unescapedAbidata string) (*decodedCallData,
|
||||||
if len(argdata)%32 != 0 {
|
if len(argdata)%32 != 0 {
|
||||||
return nil, fmt.Errorf("invalid call data; length should be a multiple of 32 bytes (was %d)", len(argdata))
|
return nil, fmt.Errorf("invalid call data; length should be a multiple of 32 bytes (was %d)", len(argdata))
|
||||||
}
|
}
|
||||||
// Validate the called method and upack the call data accordingly
|
// Validate the called method and unpack the call data accordingly
|
||||||
abispec, err := abi.JSON(strings.NewReader(unescapedAbidata))
|
abispec, err := abi.JSON(strings.NewReader(unescapedAbidata))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("invalid method signature (%q): %v", unescapedAbidata, err)
|
return nil, fmt.Errorf("invalid method signature (%q): %v", unescapedAbidata, err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue