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

createrawtransaction send different assets to the same address in the same transaction #1429

Open
tomt1664 opened this issue Mar 4, 2025 · 3 comments

Comments

@tomt1664
Copy link
Member

tomt1664 commented Mar 4, 2025

Several use cases where users may want to send different assets to the same address in the same transaction.

Describe the solution you'd like

Better approach would be to just change ConstructTransaction in rpc/rawtransaction_util.cpp so that the duplicate check checks (destination, asset) pairs instead of just destination. This would be a much smaller change and then would be consistent across createrawtransaction sendmany, send, etc

@apoelstra
Copy link
Member

Could you please link to the issue that you copy/pasted this text from?

@apoelstra
Copy link
Member

Oh, I found it. It was a PR, not issue: #862 (comment)

@tomt1664
Copy link
Member Author

tomt1664 commented Mar 4, 2025

Yes, sorry, PR got closed when the downstream fork was removed. Copied it here to keep track. I don't know if it is still relevant.

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