mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd,internal: fix comment typos
This commit is contained in:
parent
0fa8947925
commit
beb6505f3e
2 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ func checkAccumulator(e *era.Era) error {
|
||||||
// the blocks are all correct (via hash)
|
// the blocks are all correct (via hash)
|
||||||
//
|
//
|
||||||
// The attributes 1), 2), and 3) are checked for each block. 4) and 5) require
|
// The attributes 1), 2), and 3) are checked for each block. 4) and 5) require
|
||||||
// accumulation accross the entire set and are verified at the end.
|
// accumulation across the entire set and are verified at the end.
|
||||||
for it.Next() {
|
for it.Next() {
|
||||||
// 1) next() walks the block index, so we're able to implicitly verify it.
|
// 1) next() walks the block index, so we're able to implicitly verify it.
|
||||||
if it.Error() != nil {
|
if it.Error() != nil {
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ func TestDecode(t *testing.T) {
|
||||||
{ // basic valid decoding
|
{ // basic valid decoding
|
||||||
have: "ffff000000000000",
|
have: "ffff000000000000",
|
||||||
},
|
},
|
||||||
{ // basic valid decoding
|
{ // basic invalid decoding
|
||||||
have: "ffff000000000001",
|
have: "ffff000000000001",
|
||||||
err: fmt.Errorf("reserved bytes are non-zero"),
|
err: fmt.Errorf("reserved bytes are non-zero"),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue