Skip to content

Incorrect return type for get-block-winner #16

@whoabuddy

Description

@whoabuddy

The related Clarity code returns (some uint) or (none), but this is getting checked against a boolean value.

return typeof result === 'boolean' ? Boolean(result) : null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions