Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add asyncTransfer in PullPayment #1011

Closed
1 task done
wanglingsong opened this issue Jun 15, 2018 · 1 comment
Closed
1 task done

Add asyncTransfer in PullPayment #1011

wanglingsong opened this issue Jun 15, 2018 · 1 comment

Comments

@wanglingsong
Copy link

🎉 Description

  • 📈 This is a feature request.

📝 Details

Is it possible to add asyncTransfer method to allow payment transfer between payees?

    function asyncTransfer(address _from, address _to, uint256 amount) internal {
        payments[_from] = payments[_from].sub(amount);
        payments[_to] = payments[_to].add(amount);
    }
@frangio
Copy link
Contributor

frangio commented Jun 15, 2018

Hi @wanglingsong! Thank you for the suggestion.

We are working on a fix for #901 to make PullPayment more trustless, and unfortunately I don't think this feature will make sense after this fix.

@frangio frangio closed this as completed Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants