diff --git a/state/vm_app_state.go b/state/vm_app_state.go index ad25482fb..1005fc3dd 100644 --- a/state/vm_app_state.go +++ b/state/vm_app_state.go @@ -126,7 +126,7 @@ func (vas *VMAppState) CreateAccount(creator *vm.Account) (*vm.Account, error) { nonce := creator.Nonce creator.Nonce += 1 - addr := vm.RightPadWord(NewContractAddress(creator.Address[:], nonce)) + addr := vm.RightPadWord(NewContractAddress(creator.Address.Address(), nonce)) // Create account from address. account, deleted := unpack(vas.accounts[addr.String()])