You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the autominingclaimer script and got a TypeError. I can probably dig into the script to figure out what is going on but thought I'd share it here..
Set custom fee? (default 0.100000 STX) … no
-------------------------
4/28/2022 3:49:01 PM
currentBlockHeight: 57957
Checking 0 unclaimed blocks...
-------------------------
block 1 of 0
block: undefined
canClaimMiningReward err: TypeError: Invalid value type. Must be a number, bigint, integer-string, hex-string, BN.js instance, or Buffer.
The text was updated successfully, but these errors were encountered:
Hi @whitmera thanks for filing this! Given it is checking for "0 unclaimed blocks" I'm wondering if it was a query error with the API - do you get the same message if you try multiple times?
Also, can you share a STX address so we can research more into what the script is interpreting?
This script was replaced with claim-mining-reward.ts - which should be more resilient to these type of errors. Closing this one for now and if it comes up again please open a new issue.
Hi,
I tried running the autominingclaimer script and got a TypeError. I can probably dig into the script to figure out what is going on but thought I'd share it here..
The text was updated successfully, but these errors were encountered: