fix: undefined variable error

This commit is contained in:
André Sá 2022-09-23 10:25:38 +01:00
parent d62db527de
commit 9e64d02f90

View file

@ -109,7 +109,7 @@ function makeChange(outCassettes, amount) {
) )
if (available < 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 return null
} }