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
2 files changed,
2 insertions(+),
2 deletions(-)
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 {