From 741830fa127625f6eefbc5a9e6e3439e1d5df214 Mon Sep 17 00:00:00 2001 From: Piers Powlesland Date: Sat, 15 Apr 2023 15:26:00 +0100 Subject: [PATCH] Fix typo, the first argume is passed by reference --- en/1/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/1/functions.md b/en/1/functions.md index 2630757d41..0f7ff964f0 100644 --- a/en/1/functions.md +++ b/en/1/functions.md @@ -76,6 +76,6 @@ eatHamburgers("vitalik", 100); In our app, we're going to need to be able to create some zombies. Let's create a function for that. -1. Create a `public` function named `createZombie`. It should take two parameters: **\_name** (a `string`), and **\_dna** (a `uint`). Don't forget to pass the first argument by value by using the `memory` keyword +1. Create a `public` function named `createZombie`. It should take two parameters: **\_name** (a `string`), and **\_dna** (a `uint`). Don't forget to pass the first argument by reference by using the `memory` keyword Leave the body empty for now — we'll fill it in later.