Merge pull request #1385 from siiky/fix/lam-650/undef-var-rel8.1

fix: undefined variable error
This commit is contained in:
Rafael Taranto 2022-10-06 19:24:41 +01:00 committed by GitHub
commit 22e48441ce

View file

@ -109,7 +109,7 @@ function makeChange(outCassettes, amount) {
)
if (available < amount) {
console.log(`Tried to dispense more than was available for amount ${amount.toNumber()} with cassettes ${JSON.stringify(cassettes)}`)
console.log(`Tried to dispense more than was available for amount ${amount.toNumber()} with cassettes ${JSON.stringify(outCassettes)}`)
return null
}