Skip to content

Conversation

@Tommytrg
Copy link
Member

No description provided.

List<PublicKeyHash> metadata = this
.body
.outputs
.where((ValueTransferOutput output) => output.value == 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the metadata only supposed to be a single output in the 0 index?
what happens when a user pays with a 1 nWIT fee?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing happens, if someone tries to use that metadata it won't work for their use case

witnet/witnet-rust@17d69af#diff-0c53a100000d5c8106122c6a1a57e0c124444d4605df8e5eba00a43cd7594a32R1628

@Tommytrg Tommytrg marked this pull request as ready for review August 29, 2025 11:44
@Tommytrg Tommytrg merged commit be41e67 into witnet:main Aug 29, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants