Skip to content
Snippets Groups Projects

Draft: November commitments

Open Jonah Husson requested to merge november-commitments into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
26 28 "gitlab.com/xx_network/crypto/signature/rsa"
27 29 "gitlab.com/xx_network/primitives/id"
28 30 "gitlab.com/xx_network/primitives/id/idf"
31 utils2 "gitlab.com/xx_network/primitives/utils"
  • Jake Taylor
    Jake Taylor @Jtaylorapps started a thread on an outdated change in commit ab82fcdb
  • 44 48 impl := &Impl{
    45 49 s: s,
    46 50 contractHash: params.ContractHash,
    51 idList: map[string]interface{}{},
    52 }
    53
    54 if p, err := utils2.ExpandPath(params.IDListPath); err == nil {
    55 idList, err := utils2.ReadFile(p)
    56 if err != nil {
    57 return errors.WithMessage(err, "Failed to read ID list path")
    58 }
    59 r := csv.NewReader(bytes.NewReader(idList))
    60 records, err := r.ReadAll()
    61 for _, r := range records {
    62 impl.idList[r[0]] = true
  • Jake Taylor
    Jake Taylor @Jtaylorapps started a thread on commit ab82fcdb
  • 192 212 }
    193 213
    194 214 // Check if wallet is in old commitments
    195 ok, err = i.s.CheckWallet(msg.PaymentWallet)
    196 if err != nil {
    197 err = errors.WithMessage(err, "Failed to check wallet status in old commitments")
    198 jww.ERROR.Println(err)
    199 return err
    200 }
    201 if !ok {
    202 err = errors.Errorf("Cannot add wallet %s: wallet already used in the old commitments system", msg.PaymentWallet)
    203 jww.ERROR.Println(err)
    204 return err
    215 if _, ok := i.idList[nid.String()]; !ok {
  • Jonah Husson added 1 commit

    added 1 commit

    Compare with previous version

  • Jonah Husson added 1 commit

    added 1 commit

    Compare with previous version

  • Jonah Husson added 1 commit

    added 1 commit

    • 31b1bb76 - Logging fixes, check path param before trying to load

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading