We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
7.0.3
Seems the makeUnsignedSTXTokenTransfer builder is missing an undefined check for automatically setting the fee and nonce,
makeUnsignedSTXTokenTransfer
stacks.js/packages/transactions/src/builders.ts
Lines 181 to 191 in 2cf886b
in contrast to,
Lines 388 to 398 in 2cf886b
All builders should have both null + undef check to when auto-setting fee & nonce
The text was updated successfully, but these errors were encountered:
My bad, didn't realize it was using the == operator instead of ===, which does match undefined to null. Maybe worth using something more explicit?
==
===
null
isUndefined
isNullish
Sorry, something went wrong.
janniks
No branches or pull requests
What version of Stacks.js are you using?
7.0.3
Describe the bug
Seems the
makeUnsignedSTXTokenTransfer
builder is missing anundefined
check for automatically setting the fee and nonce,stacks.js/packages/transactions/src/builders.ts
Lines 181 to 191 in 2cf886b
in contrast to,
stacks.js/packages/transactions/src/builders.ts
Lines 388 to 398 in 2cf886b
Expected behavior
All builders should have both null + undef check to when auto-setting fee & nonce
The text was updated successfully, but these errors were encountered: