Skip to content

Commit

Permalink
set decimals=18
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3bfc committed Jun 18, 2020
1 parent 2a60f23 commit 1898d29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/templates/DataTokenTemplate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ contract DataTokenTemplate is IERC20Template, ERC20Pausable {
'DataTokenTemplate: Invalid cap value'
);

_decimals = 0;
_decimals = 18;
_cap = cap;
_name = name;
_blob = blob;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/DataTokenTemplate.Test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract('DataTokenTemplate', async (accounts) => {

beforeEach('init contracts for each test', async () => {
blob = 'https://example.com/dataset-1'
decimals = 0
decimals = 18
minter = accounts[0]
reciever = accounts[1]
newMinter = accounts[2]
Expand Down

0 comments on commit 1898d29

Please sign in to comment.