Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Error: Warning: pack(): 1 arguments unused #9

@jvanderbiest

Description

@jvanderbiest

When using a rather large MHC amount (4295) which translates in 4295000000 HASH fails when sending a transaction.

This is because of the pack method arguments that are used in case the value is >= 4294967296
pack would be called like pack('@', 4295000000) which gives the warning

Warning: pack(): 1 arguments unused

Arguments call is here:

else return intToHexHandler('C', 252, '@', value);

and pack is here:

var pack = function pack(format) {

Do you have any idea what arguments need to be given to the pack method in case of MHC hash >= 4294967296?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions