Fix the typo in the 'signer' folder and the 'cmd' folder.

This commit is contained in:
keienWang 2024-01-25 10:29:23 +08:00
parent d05dd27afb
commit ec22236746
3 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ which can
### 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
state generators can swap between a \`geth\`-based implementation and a \`parityvm\`-based
implementation.

View file

@ -98,7 +98,7 @@ func parseCallData(calldata []byte, unescapedAbidata string) (*decodedCallData,
if len(argdata)%32 != 0 {
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))
if err != nil {
return nil, fmt.Errorf("invalid method signature (%q): %v", unescapedAbidata, err)