Skip to content

How to reply with value #475

@btwiuse

Description

@btwiuse

Problem

I'd like to make a bank program with a withdraw method which returns previously deposited fund to the caller.

In gstd I was able to implement it by specifying a nonzero value in msg::reply(payload, value)

Sails doesn't seem to allow a custom value to be returned with the result, or am I missing something?

Steps

Possible Solution

No response

Notes

No response

Relevant Log Output

Click to expand/collapse

<Paste your log here>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions