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

TW Transactions to self seem to timeout without an error #10336

Closed
aeyakovenko opened this issue May 30, 2020 · 1 comment
Closed

TW Transactions to self seem to timeout without an error #10336

aeyakovenko opened this issue May 30, 2020 · 1 comment

Comments

@aeyakovenko
Copy link
Member

aeyakovenko commented May 30, 2020

Problem

Users tend to transfer to self as test.

Proposed Solution

I don't see why transfer to self would fail.

        SystemInstruction::Transfer { lamports } => {
            let from = next_keyed_account(keyed_accounts_iter)?;
            let mut to_account = next_keyed_account(keyed_accounts_iter)?.try_account_ref_mut()?;
            transfer(from, &mut to_account, lamports)
        }

My guess the TW integration includes the same account twice in the TX. explorer should show the AccountInUse error code, the timeout is super annoying.

tag: @jstarry @CriesofCarrots @mvines

@mvines
Copy link
Member

mvines commented Jun 2, 2020

I think this issue is adequately addresesd by the two referenced PRs.

@mvines mvines closed this as completed Jun 2, 2020
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