Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Tx Information Type Tweaked to Allow for Get Tx From Hash to Return P… #234

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

Conversation

TheGreatAxios
Copy link

…roperly

@simolus3 Let me know your thoughts on this. When using getTransactionByHash() function, r, s,v from msgSig are not returned. Removed them without making them nullable in order to leave the rest of the package intact.


/// ECDSA signature s
final BigInt s;
late final BigInt s;
Copy link
Owner

Choose a reason for hiding this comment

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

I don't think we should make these late to indicate that they can be absent.

Instead, we could add a superclass (say RawTransactionInformation) that doesn't contain the signature. getTransactionByHash would then return a future of that class.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants