Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Initialize genesis block correctly - Fixes #651 #652

Merged
merged 2 commits into from
Jul 3, 2017

Conversation

SargeKhan
Copy link
Contributor

@SargeKhan SargeKhan commented Jul 3, 2017

Fixes #651

@SargeKhan SargeKhan changed the base branch from development to 0.9.2 July 3, 2017 14:06
@@ -46,7 +46,7 @@ function Transactions (cb, scope) {
transaction: scope.logic.transaction,
},
};
genesisblock = library.genesisblock;
genesisblock = scope.genesisblock;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should initialize it as part of library.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use it as a part of library in this file, we access genesisblock closure variable. Do we want to remove genesisblock variable and use library.genesisblock instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that would be the best practice to switch to.

@Isabello Isabello merged commit e981365 into 0.9.2 Jul 3, 2017
@Isabello Isabello deleted the 651-initialize-genesis-block branch July 3, 2017 15:34
@karmacoma karmacoma changed the title Initialize genesis block correctly - fixes #651 Initialize genesis block correctly - Fixes #651 Jul 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants