core: fix typos (#30767)

pull/30769/head
bitcoin-lightning 5 days ago committed by GitHub
parent 7c0ff05685
commit 83790b0729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      core/state/statedb_hooked_test.go
  2. 2
      core/verkle_witness_test.go

@ -35,7 +35,7 @@ func TestBurn(t *testing.T) {
// the following occur:
// 1. contract B creates contract A
// 2. contract A is destructed
// 3. constract B sends ether to A
// 3. contract B sends ether to A
var burned = new(uint256.Int)
s, _ := New(types.EmptyRootHash, NewDatabaseForTesting())

@ -338,7 +338,7 @@ func TestProcessVerkleInvalidContractCreation(t *testing.T) {
}
}
} else if bytes.Equal(stemStateDiff.Stem[:], tx1ContractStem) {
// For this contract creation, check that only the accound header and storage slot 41
// For this contract creation, check that only the account header and storage slot 41
// are found in the witness.
for _, suffixDiff := range stemStateDiff.SuffixDiffs {
if suffixDiff.Suffix != 105 && suffixDiff.Suffix != 0 && suffixDiff.Suffix != 1 {

Loading…
Cancel
Save