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

Bug in checking basic utxos of a transaction #41

Open
vivekteega opened this issue Oct 8, 2023 · 1 comment
Open

Bug in checking basic utxos of a transaction #41

vivekteega opened this issue Oct 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vivekteega
Copy link
Member

The following participation is being rejected because the input side has 2 utxos:

(https://blockbook-testnet.ranchimall.net/tx/0ccea3c391484e29c341a56e725e21351fdc6663fdcfd7debdc6954ae5cf46e0)

  if addresscounter == inputcounter:
      outputlist = [inputlist[0]]
  elif len(outputlist) != 1:
      logger.info(f"Transaction's change is not coming back to the input address. Transaction {transaction_data['txid']} is rejected")
      return 0
  else:
      outputlist = outputlist[0]
@vivekteega vivekteega self-assigned this Oct 8, 2023
@vivekteega vivekteega added the bug Something isn't working label Oct 8, 2023
@vivekteega
Copy link
Member Author

Solution :

  • The check for the input output addresses should be based on Flo Address and not on the length of FLO address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant