Skip to content

Commit

Permalink
Fix a bunch of typos (mlswg#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
mulmarta authored Mar 15, 2023
1 parent f5067a2 commit b658692
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions interop/configs/commit.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
{"extension_type": 123, "extension_data": "aGVsbG8="},
{"extension_type": 321, "extension_data": "d29ybGQ="}
]},
{"action": "fullCommit", "actor": "alice", "byReference": [6], "members": ["bob"]},
{"action": "fullCommit", "actor": "alice", "byReference": [2], "members": ["bob"]},
{"action": "groupContextExtensionsProposal", "actor": "bob", "extensions": [
{"extension_type": 123, "extension_data": "aGVsbG8="},
{"extension_type": 321, "extension_data": "d29ybGQ="}
]},
{"action": "fullCommit", "actor": "alice", "byReference": [8], "members": ["bob"]}
{"action": "fullCommit", "actor": "alice", "byReference": [4], "members": ["bob"]}
],

"external_psk": [
Expand All @@ -70,7 +70,7 @@

{"action": "externalPSKProposal", "pskID": 2, "actor": "alice"},
{"action": "externalPSKProposal", "pskID": 3, "actor": "bob"},
{"action": "fullCommit", "actor": "alice", "byReference": [4, 5], "members": ["bob"], "force_path": false}
{"action": "fullCommit", "actor": "alice", "byReference": [7, 8], "members": ["bob"], "force_path": false}
],

"resumption_psk": [
Expand All @@ -84,7 +84,7 @@

{"action": "resumptionPSKProposal", "epochID": 2, "actor": "alice"},
{"action": "resumptionPSKProposal", "epochID": 2, "actor": "bob"},
{"action": "fullCommit", "actor": "alice", "byReference": [3, 4], "members": ["bob"], "force_path": false}
{"action": "fullCommit", "actor": "alice", "byReference": [6, 7], "members": ["bob"], "force_path": false}
],

"all_together": [
Expand Down
6 changes: 3 additions & 3 deletions interop/test-runner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func (config *ScriptActorConfig) RunStep(index int, step ScriptStep) error {
GroupInfo: groupInfo,
RatchetTree: ratchetTree,
EncryptHandshake: config.EncryptHandshake,
Identity: []byte(prams.Joiner),
Identity: []byte(params.Joiner),
RemovePrior: params.RemovePrior,
Psks: psks,
}
Expand Down Expand Up @@ -733,7 +733,7 @@ func (config *ScriptActorConfig) RunStep(index int, step ScriptStep) error {

config.StoreMessage(index, "welcome", commitResp.Welcome)
config.StoreMessage(index, "commit", commitResp.Commit)
if !params.ExternalTree {
if params.ExternalTree {
config.StoreMessage(index, "ratchet_tree", commitResp.RatchetTree)
}

Expand Down Expand Up @@ -845,7 +845,7 @@ func (config *ScriptActorConfig) RunStep(index int, step ScriptStep) error {

config.StoreMessage(index, "commit", resp.Commit)
config.StoreMessage(index, "welcome", resp.Welcome)
if !params.ExternalTree {
if params.ExternalTree {
config.StoreMessage(index, "ratchet_tree", resp.RatchetTree)
}

Expand Down

0 comments on commit b658692

Please sign in to comment.