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
I was running into an issue passing the conditional on line 22 of blackjack.js
if ((inAccum + inputValue) > (outAccum + fee + threshold)) continue
despite having a greater sum of inAccum + inputValue than outAccum + fee + threshold
I changed the conditional to
if ((inAccum + inputValue) > (outAccum + fee + threshold)){
and was able to generate the correct response of hitting
return utils.finalize(inputs, outputs, feeRate)
The original error would read cannot forEach on inputs value of Undefined because I was only being returned a fee from the else
return { fee: feeRate * bytesAccum }
The text was updated successfully, but these errors were encountered:
Blackjack attempts to hit the target value, but not exceed it by threshold. You probably want an accumulative strategy instead.
threshold
Sorry, something went wrong.
No branches or pull requests
I was running into an issue passing the conditional on line 22 of blackjack.js
if ((inAccum + inputValue) > (outAccum + fee + threshold)) continue
despite having a greater sum of inAccum + inputValue than outAccum + fee + threshold
I changed the conditional to
if ((inAccum + inputValue) > (outAccum + fee + threshold)){
and was able to generate the correct response of hitting
return utils.finalize(inputs, outputs, feeRate)
The original error would read cannot forEach on inputs value of Undefined because I was only being returned a fee from the else
return { fee: feeRate * bytesAccum }
The text was updated successfully, but these errors were encountered: