diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-04-24 13:34:19 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-04-24 13:34:19 +0800 |
commit | 5b760cdcbe2724338b6ae53366eeb353bd5638c0 (patch) | |
tree | d6d62c4b75e1cb8c5615475a2aa19074035d8bc5 /Migrate-from-Ethereum.md | |
parent | ea04ea354794ceca0425cc27751ad6c305c98aa6 (diff) | |
download | dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.gz dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.bz2 dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.lz dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.xz dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.zst dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.zip |
Add more hint to time constants
Diffstat (limited to 'Migrate-from-Ethereum.md')
-rw-r--r-- | Migrate-from-Ethereum.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Migrate-from-Ethereum.md b/Migrate-from-Ethereum.md index 1732343..832dfbc 100644 --- a/Migrate-from-Ethereum.md +++ b/Migrate-from-Ethereum.md @@ -22,7 +22,7 @@ contract Time { ``` calling `getNow()` of the contract returns a time in `milliseconds` in DEXON, while in Ethereum, a time in `seconds` is returned. -Also, the time constants in DEXON's Solidity is also change accordingly. +Also, the time constants in DEXON's Solidity is also change accordingly (**dsolidity >0.5.3**). - `1 second` yields `1000` - `1 minute` yields `60000` - `1 hour` yields `3600000` |