You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This is the fix that's specific to blockSchema.transactions, and needs to be refactored to be more general.
It's checking if the first value in the transactions array is a hash or a transaction object and uses the corresponding schema
Additionally, if one of the schemas defined by oneOf is an array of items that need to be formatted (e.g. blockSchema.transacitons), they're not currently being formatted i.e. When formatting a block the array of transaction hashes or object will always be returned using hex strings instead of whatever data format the user specifies