Skip to content

"or" or "and"? #23

@vporton

Description

@vporton

CanDB.mo:

        if (db.scalingStatus == #complete or Prim.rts_heap_size() > HEAP_SIZE_INSERT_LIMIT) {
          Debug.trap("Canister has scaled and surpassed the heap size insert limit");

In the if argument it is or, in the message it is and. That's a contradiction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions