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

ONT-1347 fix ONT ID storage #659

Merged
merged 3 commits into from Dec 7, 2018
Merged

ONT-1347 fix ONT ID storage #659

merged 3 commits into from Dec 7, 2018

Conversation

AlverLyu
Copy link
Contributor

No description provided.

}
}

prefix1 := []byte{0x2a, 0x64, 0x69, 0x64}
Copy link
Contributor

Choose a reason for hiding this comment

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

document what it is.

core/store/ledgerstore/state_store.go Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
@AlverLyu AlverLyu force-pushed the master branch 2 times, most recently from 0d44525 to ab2f91d Compare December 4, 2018 11:55
core/store/ledgerstore/state_store.go Show resolved Hide resolved
buf := bytes.NewBuffer(nil)
tag.Serialize(buf)
db.BatchPut(flag, buf.Bytes())
db.BatchCommit()
Copy link
Contributor

Choose a reason for hiding this comment

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

check error

smartcontract/service/native/ontid/utils.go Outdated Show resolved Hide resolved
@laizy laizy merged commit 66a0262 into ontio:master Dec 7, 2018
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.

None yet

2 participants