OSDN Git Service
(root)
/
bytom
/
bytom-electron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ecd8b
)
fixed the create asset string decimals for some occassion.
author
Zhiting Lin
<zlin035@uottawa.ca>
Thu, 6 Feb 2020 02:45:24 +0000
(10:45 +0800)
committer
Zhiting Lin
<zlin035@uottawa.ca>
Thu, 6 Feb 2020 02:45:24 +0000
(10:45 +0800)
src/features/assets/components/New.jsx
patch
|
blob
|
history
diff --git
a/src/features/assets/components/New.jsx
b/src/features/assets/components/New.jsx
index
30ea13a
..
e48153d
100644
(file)
--- a/
src/features/assets/components/New.jsx
+++ b/
src/features/assets/components/New.jsx
@@
-29,8
+29,8
@@
class Form extends React.Component {
definition:{
name: data.alias.trim(),
symbol: data.symbol.trim(),
- decimals:
data.decimals
,
- quorum:
data.quorum
,
+ decimals:
Number(data.decimals)
,
+ quorum:
Number(data.quorum)
,
reissue: data.reissue,
description: data.description
}