aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorethers <ethereum@outlook.com>2016-11-18 10:14:26 +0800
committerGitHub <noreply@github.com>2016-11-18 10:14:26 +0800
commitfeebe3e7555a6977acd787d255cb8a2f085a4efe (patch)
tree67eae6056218c6b1a9b17ae9349fa14e9f742bef /docs
parent1d9aee97c2532d57bd27e65f8b22079ebbe71e3a (diff)
downloaddexon-solidity-feebe3e7555a6977acd787d255cb8a2f085a4efe.tar.gz
dexon-solidity-feebe3e7555a6977acd787d255cb8a2f085a4efe.tar.zst
dexon-solidity-feebe3e7555a6977acd787d255cb8a2f085a4efe.zip
Fallback functions don't always have to be payable
Diffstat (limited to 'docs')
-rw-r--r--docs/style-guide.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst
index 46b915e1..eef04099 100644
--- a/docs/style-guide.rst
+++ b/docs/style-guide.rst
@@ -173,7 +173,7 @@ Yes::
...
}
- function() payable {
+ function() {
...
}
@@ -210,7 +210,7 @@ No::
...
}
- function() payable {
+ function() {
...
}