Skip to content

Commit

Permalink
fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
TATAUFO committed Mar 11, 2020
1 parent 29f6012 commit 93c3b77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/universe.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
// add into msgD, which is a DAG used to store message. If new user create from valid message,
// the user should add into userD, a DAG used to store all users. The universe contain at least
// one spacetime, each spacetime base on one user msg as time line. validation of message mean
// this message should be valid at least in one of spacetime in stD. Infomation in local universe
// is only part of infomation in whole decentralized system.
// this message should be valid at least in one of spacetime in stD. Information in local universe
// is only part of information in whole decentralized system.
type Universe struct {
msgD *dag.DAG // contain all messages valid in at least one spacetime
userD *dag.DAG // contain all users valid in at least one spacetime (strict)
Expand Down
2 changes: 1 addition & 1 deletion core/userinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type UserInfo struct {

// NewUserInfo create new user info for userstate in space time
func NewUserInfo(name string, life uint64, BODSeq uint64) *UserInfo {
// when create new user info , the nature BOD sequence alse set to natureLastCosign, for easy to validate nex cosign
// when create new user info , the nature BOD sequence also set to natureLastCosign, for easy to validate nex cosign
return &UserInfo{natureState: UserStatusNormal, natureLastCosign: BODSeq, natureLifeMaxSeq: life, natureDOBSeq: BODSeq, localNickname: name}
}

Expand Down

0 comments on commit 93c3b77

Please sign in to comment.