Skip to content

Commit

Permalink
summary files fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed Apr 23, 2018
1 parent 50c4632 commit c1570b3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/components/stepFour/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class stepFour extends React.Component {
deploymentStore.setDeploymentStep(0)
deploymentStore.setDeployerAccount(context.selectedAccount)
}

}

static contextTypes = {
Expand Down Expand Up @@ -81,7 +82,7 @@ export class stepFour extends React.Component {
deployCrowdsale = () => {
const { deploymentStore } = this.props
const { web3 } = this.context
const firstRun = deploymentStore.deploymentStep === null
const firstRun = deploymentStore.deploymentStep === 0

if (firstRun) {
setupContractDeployment(web3)
Expand Down Expand Up @@ -203,6 +204,7 @@ export class stepFour extends React.Component {
const solFilename = `${orderNumber(prefix++)}_${name}${suffix}`
const txtFilename = `${orderNumber(prefix++)}_${name}${suffix}`
const tierNumber = FINALIZE_AGENT === key ? tiersCount - 1 : tier

const commonHeader = FILE_CONTENTS.common.map(content => this.handleContentByParent(content, tierNumber))

zip.file(
Expand Down
2 changes: 0 additions & 2 deletions src/stores/ContractStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ class ContractStore {
@observable token;
@observable crowdsale;
@observable pricingStrategy;
@observable multisig;
@observable nullFinalizeAgent;
@observable finalizeAgent;
@observable tokenTransferProxy;
@observable safeMathLib;
@observable registry;

Expand Down
1 change: 0 additions & 1 deletion src/stores/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export const getconstructorParams = (abiConstructor, vals, crowdsaleNum, isCrowd
params.vals.push(tierStore.tiers[crowdsaleNum].rate);
break;
case "_multisigWallet":
//params.vals.push(contractStore.multisig.addr);
params.vals.push(tierStore.tiers[0].walletAddress);
break;
case "_pricingStrategy":
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export const FILE_CONTENTS = {
}
}

export const DOWNLOAD_NAME = 'icowizard'
export const DOWNLOAD_NAME = 'tokenwizard'
export const DOWNLOAD_TYPE = {
text: 'text/plain',
blob: 'blob'
Expand Down

0 comments on commit c1570b3

Please sign in to comment.