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

I think outIdx should be replaced by out.Value #30

Open
yunhua-lee opened this issue Apr 17, 2018 · 1 comment
Open

I think outIdx should be replaced by out.Value #30

yunhua-lee opened this issue Apr 17, 2018 · 1 comment

Comments

@yunhua-lee
Copy link

unspentOutputs[txID] = append(unspentOutputs[txID], outIdx)

When I try to run this code and print all the transactions' information, I found that Vout is wrong.
I think outIdx should be replaced by out.Value.

@fe1t
Copy link

fe1t commented Apr 17, 2018

In my opinion, Vout is index of output transaction that'e being used as TXInput in current transaction.

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