Merge pull request #1385 from siiky/fix/lam-650/undef-var-rel8.1
fix: undefined variable error
This commit is contained in:
commit
22e48441ce
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