srml-contract: ext_caller follow-up (#1266)

* s/account ID/address

* Add a note about CODE_CALLER

* Comment tests.
This commit is contained in:
Sergei Pepyakin
2018-12-13 18:20:40 +01:00
committed by GitHub
parent 81f90ed0a4
commit 025bcdda0f
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -277,9 +277,9 @@ This function receives a `data` buffer as an argument. Execution of the function
## ext_caller
This function serializes the account ID of the caller into the scratch buffer.
This function serializes the address of the caller into the scratch buffer.
**complexity**: Assuming that the account ID is of constant size, this function has constant complexity.
**complexity**: Assuming that the address is of constant size, this function has constant complexity.
## ext_input_size