[Bank] Check recipient balance before completing transfer (#2925)

* Fixed `[p]local start`
Playlist picker auto selects if theres just 1 playlist found
`[p]queue cleanself` added

Signed-off-by: Guy <guyreis96@gmail.com>

* Black.... you are supposed to trigger before commits

Signed-off-by: Guy <guyreis96@gmail.com>

* Added `BalanceTooHigh` to the docstrings of `bank.transfer_credits()`

Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com>

* Bring this in line with #2926 to reduce conflicts,`is_global()` already is called inside `get_currency_name` and as such it does not need to be called outside

Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com>
This commit is contained in:
Draper
2019-08-27 17:40:11 +01:00
committed by Michael H
parent 68018c924e
commit 2056f9f8d0
2 changed files with 11 additions and 5 deletions

View File

@@ -0,0 +1 @@
Check the recipient balance before transferring and stop transfer if will go above the maximum allowed balance.