Skip to content
This repository was 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
TheGreatAxios wants to merge 1 commit intosimolus3:masterfrom
drd-dep-2:tx_info_update
Open

Tx Information Type Tweaked to Allow for Get Tx From Hash to Return P…#234
TheGreatAxios wants to merge 1 commit intosimolus3:masterfrom
drd-dep-2:tx_info_update

Conversation

@TheGreatAxios
Copy link
Copy Markdown

…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
Copy Markdown
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