fix: undefined variable error
This commit is contained in:
parent
d62db527de
commit
9e64d02f90
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue