Skip to content

Commit

Permalink
Add CID to the response of the function install
Browse files Browse the repository at this point in the history
  • Loading branch information
Maelkum committed Jan 27, 2024
1 parent bab756c commit e88d2e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions models/response/install_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ type InstallFunction struct {
From peer.ID `json:"from,omitempty"`
Code codes.Code `json:"code,omitempty"`
Message string `json:"message,omitempty"`
CID string `json:"cid,omitempty"`
}
1 change: 1 addition & 0 deletions node/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (n *Node) processInstallFunction(ctx context.Context, from peer.ID, payload
Type: blockless.MessageInstallFunctionResponse,
Code: codes.Accepted,
Message: "installed",
CID: req.CID,
}

// Reply to the caller.
Expand Down

0 comments on commit e88d2e0

Please sign in to comment.