Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: Remove cache block number and filter cell #2840

Closed
wants to merge 1 commit into from

Conversation

yanguoyu
Copy link
Collaborator

Refer to Magickbase/neuron-public-issues#282.
If Neuron is released soon, This PR should be merged and I will continue to complete the cell storage optimate into the next version.
If not, This PR should not be merged and I will as soon as possible complete the cell storage optimate and open a PR.

@@ -201,7 +201,7 @@ export default class AddressService {
await getConnection().manager.save(publicKeyInfo)

const addressMeta = AddressMeta.fromHdPublicKeyInfoModel(publicKeyInfo.toModel())
this.notifyAddressCreated([addressMeta], undefined)
AddressService.notifyAddressCreated([addressMeta], undefined)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

generateAndSaveForPublicKey is a static function, and a static function calls it. If use this, when I start Neuron the first time without a database file, it throws an error that can not called with undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant