Skip to content
Snippets Groups Projects
Commit 6edbdfd5 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix bindings

parent a509277a
No related branches found
No related tags found
2 merge requests!510Release,!344Xx 4084/send e2e residue
......@@ -96,7 +96,7 @@ func (c *Connection) SendE2E(mt int, payload []byte) ([]byte, error) {
RoundsList: makeRoundsList(rounds...),
MessageID: mid.Marshal(),
Timestamp: ts.UnixNano(),
KeyResidue: keyResidue,
KeyResidue: keyResidue.Marshal(),
}
return json.Marshal(&sr)
......
......@@ -33,7 +33,6 @@ type E2ESendReport struct {
RoundsList
MessageID []byte
Timestamp int64
// todo: make marshal function
KeyResidue []byte
}
......@@ -145,7 +144,7 @@ func (e *E2e) SendE2E(messageType int, recipientId, payload,
RoundsList: makeRoundsList(roundIds...),
MessageID: messageId.Marshal(),
Timestamp: ts.UnixNano(),
KeyResidue: keyResidue,
KeyResidue: keyResidue.Marshal(),
}
return json.Marshal(result)
}
......
......@@ -13,7 +13,7 @@ require (
github.com/spf13/viper v1.12.0
gitlab.com/elixxir/bloomfilter v0.0.0-20211222005329-7d931ceead6f
gitlab.com/elixxir/comms v0.0.4-0.20220603231314-e47e4af13326
gitlab.com/elixxir/crypto v0.0.7-0.20220822180822-5e1b688a9500
gitlab.com/elixxir/crypto v0.0.7-0.20220823235814-7f7036f95acb
gitlab.com/elixxir/ekv v0.1.7
gitlab.com/elixxir/primitives v0.0.3-0.20220606195757-40f7a589347f
gitlab.com/xx_network/comms v0.0.4-0.20220630163702-f3d372ef6acd
......
......@@ -444,6 +444,8 @@ gitlab.com/elixxir/crypto v0.0.7-0.20220822180551-92d06134b333 h1:V19ek4Hz3k1JB5
gitlab.com/elixxir/crypto v0.0.7-0.20220822180551-92d06134b333/go.mod h1:0gH41Kb/a9Akdv+2+vMJVdx+REVwR8CZXTr2+BrgeeA=
gitlab.com/elixxir/crypto v0.0.7-0.20220822180822-5e1b688a9500 h1:KI+7GoG2/9x/J5qdr9VCd2woGwE8RDaSMrt9STYfBKU=
gitlab.com/elixxir/crypto v0.0.7-0.20220822180822-5e1b688a9500/go.mod h1:0gH41Kb/a9Akdv+2+vMJVdx+REVwR8CZXTr2+BrgeeA=
gitlab.com/elixxir/crypto v0.0.7-0.20220823235814-7f7036f95acb h1:J5/yaBi7ZucSLIVHUanxgV6FKT/yDzF5I4TQYZsQqIQ=
gitlab.com/elixxir/crypto v0.0.7-0.20220823235814-7f7036f95acb/go.mod h1:0gH41Kb/a9Akdv+2+vMJVdx+REVwR8CZXTr2+BrgeeA=
gitlab.com/elixxir/ekv v0.1.7 h1:OW2z+N4QCqqMFzouAwFTWWMKz0Y/PDhyYReN7gQ5NiQ=
gitlab.com/elixxir/ekv v0.1.7/go.mod h1:e6WPUt97taFZe5PFLPb1Dupk7tqmDCTQu1kkstqJvw4=
gitlab.com/elixxir/primitives v0.0.0-20200731184040-494269b53b4d/go.mod h1:OQgUZq7SjnE0b+8+iIAT2eqQF+2IFHn73tOo+aV11mg=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment