Skip to content

token.mint is not a function in 6-print-money.js #11

@thezenvan

Description

@thezenvan

When running node scripts/6-print-money.js it returns an error Failed to print money TypeError: token.mint is not a function because the mint function doesn't exist.

The syntax should be await token.mintToSelf(amount); on line 11 in 6-print-money.js

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