arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
Apply fix method description typos

Co-authored-by: Eduard S. <eduard@iden3.io>
arnau 17317030+arnaucube@users.noreply.github.com
Mon, 10 Aug 2020 16:45:34 +0200
commit

edb8974a5a85bc245afb71735d8eec82b845ddfd

parent

d8cb7298e0b7fe6639f68ad85c0e6abb86451d46

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M common/account.go → common/account.go

@@ -14,7 +14,7 @@ )

const NLEAFELEMS = 4 -// Account is a struct that gives information of the holdings of an address for a specific token. Is the data structure that generates the Value stored in the leaf of the MerkleTree +// Account is a struct that gives information of the holdings of an address and a specific token. Is the data structure that generates the Value stored in the leaf of the MerkleTree type Account struct { TokenID TokenID Nonce uint64 // max of 40 bits used
M db/statedb/statedb.go → db/statedb/statedb.go

@@ -139,7 +139,7 @@

return tx.Commit() } -// MTCreateAccount creates a new the Account in the StateDB for the given Idx, +// MTCreateAccount creates a new Account in the StateDB for the given Idx, // and updates the MerkleTree, returning a CircomProcessorProof func (s *StateDB) MTCreateAccount(idx common.Idx, account *common.Account) (*merkletree.CircomProcessorProof, error) { if s.mt == nil {