Satoshis

Satoshis

5.6k Downloads

Receiving on return address

movast opened this issue · 2 comments

commented

When Bitcoin-Qt is used, the client will broadcast the address with a returning address in a random order. The code used to resolve the destenation address will only parse the first output address:

Address receiver = current.getOutputs().get(0).getScriptPubKey().getToAddress();

Please fix this issue.

commented

How is this an issue? AFAIK, they are both your addresses, so you still get your money back.

commented

I think the problem is that the plugin thinks the transaction was "to" the
change address in the sender's wallet, rather than "to" the
plugin-controlled address that's awaiting a deposit. So the plugin's wallet
gets coins, but the plugin doesn't credit a user's account in response to
the transaction.

On Mon, Apr 1, 2013 at 3:32 PM, meta1203 [email protected] wrote:

How is this an issue? AFAIK, they are both your addresses, so you still
get your money back.


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-15741520
.