wallet_balance.py: Prevent edge cases
wallet_balance.py: Prevent edge cases

ElementsProject/elements,andreaskern/bitcoin,instagibbs/bitcoin,jtimon/bitcoin,ajtowns/bitcoin,mitchellcash/bitcoin,practicalswift/bitcoin,tjps/bitcoin,yenliangl/bitcoin,DigitalPandacoin/pandacoin,domob1812/bitcoin,vertcoin/vertcoin,sstone/bitcoin,nikkitan/bitcoin,prusnak/bitcoin,cdecker/bitcoin,FeatherCoin/Feathercoin,instagibbs/bitcoin,andreaskern/bitcoin,fanquake/bitcoin,sipsorcery/bitcoin,FeatherCoin/Feathercoin,peercoin/peercoin,pataquets/namecoin-core,tecnovert/particl-core,EthanHeilman/bitcoin,litecoin-project/litecoin,gjhiggins/vcoincore,jonasschnelli/bitcoin,namecoin/namecoin-core,namecoin/namecore,sstone/bitcoin,ElementsProject/elements,tecnovert/particl-core,mruddy/bitcoin,apoelstra/bitcoin,achow101/bitcoin,rnicoll/dogecoin,apoelstra/bitcoin,nikkitan/bitcoin,MeshCollider/bitcoin,rnicoll/dogecoin,gjhiggins/vcoincore,jnewbery/bitcoin,peercoin/peercoin,mitchellcash/bitcoin,MeshCollider/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,nikkitan/bitcoin,rnicoll/bitcoin,kallewoof/bitcoin,jtimon/bitcoin,yenliangl/bitcoin,tecnovert/particl-core,mruddy/bitcoin,GroestlCoin/bitcoin,monacoinproject/monacoin,anditto/bitcoin,practicalswift/bitcoin,n1bor/bitcoin,namecoin/namecoin-core,MarcoFalke/bitcoin,yenliangl/bitcoin,wellenreiter01/Feathercoin,gjhiggins/vcoincore,instagibbs/bitcoin,monacoinproject/monacoin,GroestlCoin/GroestlCoin,jtimon/bitcoin,jambolo/bitcoin,bitcoin/bitcoin,ajtowns/bitcoin,pataquets/namecoin-core,vertcoin/vertcoin,rnicoll/bitcoin,Sjors/bitcoin,n1bor/bitcoin,peercoin/peercoin,midnightmagic/bitcoin,Xekyo/bitcoin,jtimon/bitcoin,Xekyo/bitcoin,qtumproject/qtum,dscotese/bitcoin,EthanHeilman/bitcoin,JeremyRubin/bitcoin,jamesob/bitcoin,Sjors/bitcoin,fujicoin/fujicoin,ajtowns/bitcoin,GroestlCoin/bitcoin,cdecker/bitcoin,anditto/bitcoin,sipsorcery/bitcoin,qtumproject/qtum,tecnovert/particl-core,qtumproject/qtum,jamesob/bitcoin,jambolo/bitcoin,domob1812/bitcoin,bitcoinknots/bitcoin,anditto/bitcoin,instagibbs/bitcoin,yenliangl/bitcoin,bitcoinsSG/bitcoin,rnicoll/dogecoin,EthanHeilman/bitcoin,JeremyRubin/bitcoin,practicalswift/bitcoin,domob1812/namecore,andreaskern/bitcoin,gjhiggins/vcoincore,alecalve/bitcoin,prusnak/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,particl/particl-core,prusnak/bitcoin,DigitalPandacoin/pandacoin,mruddy/bitcoin,jlopp/statoshi,domob1812/bitcoin,achow101/bitcoin,bitcoin/bitcoin,midnightmagic/bitcoin,bitcoinknots/bitcoin,rnicoll/bitcoin,dscotese/bitcoin,lateminer/bitcoin,kallewoof/bitcoin,cdecker/bitcoin,CryptArc/bitcoin,namecoin/namecore,instagibbs/bitcoin,kallewoof/bitcoin,ahmedbodi/vertcoin,namecoin/namecore,achow101/bitcoin,tjps/bitcoin,ajtowns/bitcoin,ElementsProject/elements,ajtowns/bitcoin,peercoin/peercoin,AkioNak/bitcoin,domob1812/namecore,bitcoin/bitcoin,monacoinproject/monacoin,MarcoFalke/bitcoin,jlopp/statoshi,mitchellcash/bitcoin,jamesob/bitcoin,MeshCollider/bitcoin,vertcoin/vertcoin,rnicoll/dogecoin,qtumproject/qtum,pstratem/bitcoin,AkioNak/bitcoin,jtimon/bitcoin,rnicoll/bitcoin,sstone/bitcoin,namecoin/namecoin-core,nikkitan/bitcoin,bitcoinknots/bitcoin,jambolo/bitcoin,tjps/bitcoin,EthanHeilman/bitcoin,gjhiggins/vcoincore,cdecker/bitcoin,fanquake/bitcoin,CryptArc/bitcoin,pstratem/bitcoin,wellenreiter01/Feathercoin,jnewbery/bitcoin,DigitalPandacoin/pandacoin,cdecker/bitcoin,domob1812/namecore,litecoin-project/litecoin,fanquake/bitcoin,andreaskern/bitcoin,monacoinproject/monacoin,mitchellcash/bitcoin,mm-s/bitcoin,CryptArc/bitcoin,sstone/bitcoin,MarcoFalke/bitcoin,ahmedbodi/vertcoin,ElementsProject/elements,bitcoinsSG/bitcoin,litecoin-project/litecoin,dscotese/bitcoin,jambolo/bitcoin,bitcoinsSG/bitcoin,bitcoinknots/bitcoin,ahmedbodi/vertcoin,JeremyRubin/bitcoin,anditto/bitcoin,jamesob/bitcoin,prusnak/bitcoin,monacoinproject/monacoin,AkioNak/bitcoin,jlopp/statoshi,jonasschnelli/bitcoin,sstone/bitcoin,ahmedbodi/vertcoin,tjps/bitcoin,namecoin/namecoin-core,pataquets/namecoin-core,pstratem/bitcoin,mruddy/bitcoin,rnicoll/bitcoin,bitcoinsSG/bitcoin,mm-s/bitcoin,ajtowns/bitcoin,instagibbs/bitcoin,peercoin/peercoin,kallewoof/bitcoin,bitcoinsSG/bitcoin,DigitalPandacoin/pandacoin,apoelstra/bitcoin,kallewoof/bitcoin,mruddy/bitcoin,jonasschnelli/bitcoin,AkioNak/bitcoin,GroestlCoin/GroestlCoin,achow101/bitcoin,fujicoin/fujicoin,pstratem/bitcoin,alecalve/bitcoin,apoelstra/bitcoin,mitchellcash/bitcoin,alecalve/bitcoin,practicalswift/bitcoin,Sjors/bitcoin,lateminer/bitcoin,fujicoin/fujicoin,JeremyRubin/bitcoin,vertcoin/vertcoin,vertcoin/vertcoin,CryptArc/bitcoin,dscotese/bitcoin,anditto/bitcoin,particl/particl-core,apoelstra/bitcoin,particl/particl-core,pstratem/bitcoin,FeatherCoin/Feathercoin,pataquets/namecoin-core,mruddy/bitcoin,jnewbery/bitcoin,alecalve/bitcoin,MarcoFalke/bitcoin,fanquake/bitcoin,achow101/bitcoin,ElementsProject/elements,rnicoll/dogecoin,namecoin/namecoin-core,fujicoin/fujicoin,qtumproject/qtum,kallewoof/bitcoin,midnightmagic/bitcoin,bitcoin/bitcoin,ahmedbodi/vertcoin,jlopp/statoshi,domob1812/bitcoin,tecnovert/particl-core,particl/particl-core,qtumproject/qtum,andreaskern/bitcoin,namecoin/namecoin-core,FeatherCoin/Feathercoin,jamesob/bitcoin,n1bor/bitcoin,MarcoFalke/bitcoin,n1bor/bitcoin,jlopp/statoshi,Xekyo/bitcoin,lateminer/bitcoin,jonasschnelli/bitcoin,gjhiggins/vcoincore,domob1812/namecore,bitcoin/bitcoin,anditto/bitcoin,jnewbery/bitcoin,GroestlCoin/GroestlCoin,GroestlCoin/bitcoin,n1bor/bitcoin,dscotese/bitcoin,fanquake/bitcoin,Xekyo/bitcoin,particl/particl-core,GroestlCoin/GroestlCoin,CryptArc/bitcoin,yenliangl/bitcoin,MeshCollider/bitcoin,domob1812/bitcoin,nikkitan/bitcoin,namecoin/namecore,AkioNak/bitcoin,pstratem/bitcoin,prusnak/bitcoin,achow101/bitcoin,alecalve/bitcoin,pataquets/namecoin-core,midnightmagic/bitcoin,domob1812/bitcoin,n1bor/bitcoin,bitcoinknots/bitcoin,andreaskern/bitcoin,yenliangl/bitcoin,GroestlCoin/bitcoin,GroestlCoin/bitcoin,monacoinproject/monacoin,fujicoin/fujicoin,dscotese/bitcoin,namecoin/namecore,mm-s/bitcoin,lateminer/bitcoin,jambolo/bitcoin,AkioNak/bitcoin,qtumproject/qtum,particl/particl-core,jamesob/bitcoin,jambolo/bitcoin,tjps/bitcoin,Xekyo/bitcoin,mm-s/bitcoin,MeshCollider/bitcoin,lateminer/bitcoin,prusnak/bitcoin,tecnovert/particl-core,sipsorcery/bitcoin,EthanHeilman/bitcoin,bitcoinsSG/bitcoin,jonasschnelli/bitcoin,peercoin/peercoin,litecoin-project/litecoin,sipsorcery/bitcoin,wellenreiter01/Feathercoin,litecoin-project/litecoin,practicalswift/bitcoin,fujicoin/fujicoin,fanquake/bitcoin,Sjors/bitcoin,apoelstra/bitcoin,JeremyRubin/bitcoin,EthanHeilman/bitcoin,ahmedbodi/vertcoin,wellenreiter01/Feathercoin,midnightmagic/bitcoin,jlopp/statoshi,alecalve/bitcoin,GroestlCoin/GroestlCoin,CryptArc/bitcoin,Xekyo/bitcoin,midnightmagic/bitcoin,practicalswift/bitcoin,vertcoin/vertcoin,DigitalPandacoin/pandacoin,mm-s/bitcoin,jnewbery/bitcoin,litecoin-project/litecoin,MarcoFalke/bitcoin,GroestlCoin/GroestlCoin,lateminer/bitcoin,wellenreiter01/Feathercoin,mitchellcash/bitcoin,FeatherCoin/Feathercoin,rnicoll/bitcoin,domob1812/namecore,Sjors/bitcoin,wellenreiter01/Feathercoin,mm-s/bitcoin,tjps/bitcoin,jtimon/bitcoin,sipsorcery/bitcoin,MeshCollider/bitcoin,DigitalPandacoin/pandacoin,JeremyRubin/bitcoin,FeatherCoin/Feathercoin,bitcoin/bitcoin,sstone/bitcoin,pataquets/namecoin-core,ElementsProject/elements,nikkitan/bitcoin,domob1812/namecore