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

Adds changes to fix witness_set_properties #514

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

starlord2826
Copy link

The witness_set_properties operation requires each value in props to be serialized individually before serializing props as a FlatMap(StringSerializer, BinarySerializer). While the condenser API documentation shows props as an object, which simplifies working with the operation, it must be converted into an array by the transaction serializer/broadcaster before sending it to the node. If this conversion is not done, the transaction will not be accepted.
This can now be used to also broadcast the witness pricefeed using the witness private key itself.
image

@starlord2826 starlord2826 force-pushed the fix-witness_set_properties branch from f5f1e9c to 141a2ed Compare December 24, 2024 11:50
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.

1 participant