mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
trie: fix typo
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
This commit is contained in:
parent
c2bf011b76
commit
482c2d737a
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ func ChunkifyCode(code []byte) ChunkedCode {
|
||||||
|
|
||||||
// UpdateContractCode implements state.Trie, writing the provided contract code
|
// UpdateContractCode implements state.Trie, writing the provided contract code
|
||||||
// into the trie.
|
// into the trie.
|
||||||
// Note that the code-size *must* be already saved by a previuos UpdateAccount call.
|
// Note that the code-size *must* be already saved by a previous UpdateAccount call.
|
||||||
func (t *VerkleTrie) UpdateContractCode(addr common.Address, codeHash common.Hash, code []byte) error {
|
func (t *VerkleTrie) UpdateContractCode(addr common.Address, codeHash common.Hash, code []byte) error {
|
||||||
var (
|
var (
|
||||||
chunks = ChunkifyCode(code)
|
chunks = ChunkifyCode(code)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue