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

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

Open
jvanderbiest opened this issue Aug 3, 2021 · 1 comment
Open

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

jvanderbiest opened this issue Aug 3, 2021 · 1 comment

Comments

@jvanderbiest
Copy link

jvanderbiest commented Aug 3, 2021

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?

@xboston
Copy link
Owner

xboston commented Jan 31, 2022

@jvanderbiest check please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants