diff options
author | Kitten King <53072918+kittenking@users.noreply.github.com> | 2019-07-22 15:34:33 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-07-22 15:34:33 +0800 |
commit | cc3ef1e4f48dc305c942bc2259b3121210206686 (patch) | |
tree | f8f5fbb28b143cb11bdca604faff40af4e9f05ca /cmd | |
parent | 5183483c53fac7ad5d31759ecb95ca7b1a67744d (diff) | |
download | go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.tar go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.tar.gz go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.tar.bz2 go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.tar.lz go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.tar.xz go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.tar.zst go-tangerine-cc3ef1e4f48dc305c942bc2259b3121210206686.zip |
cmd, crypto, eth, internals: fix Typos (#19868)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/clef/rules.md | 2 | ||||
-rw-r--r-- | cmd/clef/tutorial.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/clef/rules.md b/cmd/clef/rules.md index 153e69ff7..112dae651 100644 --- a/cmd/clef/rules.md +++ b/cmd/clef/rules.md @@ -70,7 +70,7 @@ The Otto vm has a few [caveats](https://github.com/robertkrimen/otto): Additionally, a few more have been added * The rule execution cannot load external javascript files. -* The only preloaded libary is [`bignumber.js`](https://github.com/MikeMcl/bignumber.js) version `2.0.3`. This one is fairly old, and is not aligned with the documentation at the github repository. +* The only preloaded library is [`bignumber.js`](https://github.com/MikeMcl/bignumber.js) version `2.0.3`. This one is fairly old, and is not aligned with the documentation at the github repository. * Each invocation is made in a fresh virtual machine. This means that you cannot store data in global variables between invocations. This is a deliberate choice -- if you want to store data, use the disk-backed `storage`, since rules should not rely on ephemeral data. * Javascript API parameters are _always_ an object. This is also a design choice, to ensure that parameters are accessed by _key_ and not by order. This is to prevent mistakes due to missing parameters or parameter changes. * The JS engine has access to `storage` and `console`. diff --git a/cmd/clef/tutorial.md b/cmd/clef/tutorial.md index a0a6b052a..422946dbd 100644 --- a/cmd/clef/tutorial.md +++ b/cmd/clef/tutorial.md @@ -227,7 +227,7 @@ In this example: - Auto-rejected if the message does not contain `bazonk`, - Any other requests will be passed along for manual confirmation. -*Note, to make this example work, please use you own accounts. You can create a new account either via Clef or the traditional account CLI tools. If the latter was chosen, make sure both Clef and Geth use the same keystore by specifing `--keystore path/to/your/keystore` when running Clef.* +*Note, to make this example work, please use you own accounts. You can create a new account either via Clef or the traditional account CLI tools. If the latter was chosen, make sure both Clef and Geth use the same keystore by specifying `--keystore path/to/your/keystore` when running Clef.* Attest the new rule file so that Clef will accept loading it: |