From b7bb2d8589ddfb4f893c881edb6422bacdb6e53b Mon Sep 17 00:00:00 2001 From: Leif Jurvetson Date: Tue, 15 Mar 2016 11:08:18 -0700 Subject: core: various typos --- core/state/managed_state.go | 2 +- core/state/state_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core/state') diff --git a/core/state/managed_state.go b/core/state/managed_state.go index 4df047979..f8e2f2b87 100644 --- a/core/state/managed_state.go +++ b/core/state/managed_state.go @@ -82,7 +82,7 @@ func (ms *ManagedState) NewNonce(addr common.Address) uint64 { return uint64(len(account.nonces)-1) + account.nstart } -// GetNonce returns the canonical nonce for the managed or unmanged account +// GetNonce returns the canonical nonce for the managed or unmanaged account func (ms *ManagedState) GetNonce(addr common.Address) uint64 { ms.mu.RLock() defer ms.mu.RUnlock() diff --git a/core/state/state_test.go b/core/state/state_test.go index 7ce341c36..a45eddd0d 100644 --- a/core/state/state_test.go +++ b/core/state/state_test.go @@ -102,7 +102,7 @@ func (s *StateSuite) TestSnapshot(c *checker.C) { data1 := common.BytesToHash([]byte{42}) data2 := common.BytesToHash([]byte{43}) - // set inital state object value + // set initial state object value s.state.SetState(stateobjaddr, storageaddr, data1) // get snapshot of current state snapshot := s.state.Copy() -- cgit v1.2.3