test: refactor: remove unneeded bytes<->hex conversions in `byte_to_base58`
test: refactor: remove unneeded bytes<->hex conversions in `byte_to_base58`

It seems like the only reason for using hex strings in this
method was to have a convenient way to convert to an integer
from the input data interpreted as big-endian.
In Python3 we have `int.from_bytes(..., 'big')` for that
purpose, hence there is no need for that anymore and we can
simply operate on bytes only.

lateminer/bitcoin,jambolo/bitcoin,tecnovert/particl-core,tecnovert/particl-core,lateminer/bitcoin,jambolo/bitcoin,pataquets/namecoin-core,dscotese/bitcoin,jlopp/statoshi,particl/particl-core,fanquake/bitcoin,namecoin/namecoin-core,kallewoof/bitcoin,anditto/bitcoin,GroestlCoin/bitcoin,dscotese/bitcoin,jamesob/bitcoin,GroestlCoin/GroestlCoin,domob1812/bitcoin,domob1812/bitcoin,bitcoin/bitcoin,bitcoin/bitcoin,bitcoin/bitcoin,namecoin/namecoin-core,lateminer/bitcoin,fujicoin/fujicoin,anditto/bitcoin,GroestlCoin/GroestlCoin,jlopp/statoshi,instagibbs/bitcoin,particl/particl-core,jamesob/bitcoin,sipsorcery/bitcoin,Xekyo/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,dscotese/bitcoin,achow101/bitcoin,tecnovert/particl-core,achow101/bitcoin,bitcoin/bitcoin,andreaskern/bitcoin,ajtowns/bitcoin,AkioNak/bitcoin,bitcoinsSG/bitcoin,anditto/bitcoin,anditto/bitcoin,GroestlCoin/GroestlCoin,fanquake/bitcoin,fanquake/bitcoin,namecoin/namecore,namecoin/namecoin-core,bitcoin/bitcoin,kallewoof/bitcoin,fujicoin/fujicoin,particl/particl-core,andreaskern/bitcoin,kallewoof/bitcoin,jamesob/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,bitcoin/bitcoin,dscotese/bitcoin,particl/particl-core,GroestlCoin/bitcoin,achow101/bitcoin,ajtowns/bitcoin,mruddy/bitcoin,instagibbs/bitcoin,bitcoinsSG/bitcoin,domob1812/bitcoin,sstone/bitcoin,jlopp/statoshi,sipsorcery/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,pataquets/namecoin-core,sstone/bitcoin,tecnovert/particl-core,bitcoinsSG/bitcoin,bitcoinknots/bitcoin,namecoin/namecore,fanquake/bitcoin,namecoin/namecore,domob1812/bitcoin,dscotese/bitcoin,AkioNak/bitcoin,AkioNak/bitcoin,mruddy/bitcoin,GroestlCoin/GroestlCoin,namecoin/namecore,mruddy/bitcoin,andreaskern/bitcoin,fujicoin/fujicoin,bitcoinknots/bitcoin,Xekyo/bitcoin,jambolo/bitcoin,bitcoinknots/bitcoin,pataquets/namecoin-core,sstone/bitcoin,Xekyo/bitcoin,andreaskern/bitcoin,andreaskern/bitcoin,sstone/bitcoin,jlopp/statoshi,fujicoin/fujicoin,achow101/bitcoin,Xekyo/bitcoin,pataquets/namecoin-core,jamesob/bitcoin,GroestlCoin/bitcoin,jambolo/bitcoin,dscotese/bitcoin,sstone/bitcoin,particl/particl-core,fanquake/bitcoin,achow101/bitcoin,bitcoinknots/bitcoin,GroestlCoin/bitcoin,jlopp/statoshi,AkioNak/bitcoin,sipsorcery/bitcoin,sstone/bitcoin,sipsorcery/bitcoin,domob1812/bitcoin,pataquets/namecoin-core,instagibbs/bitcoin,lateminer/bitcoin,lateminer/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,ajtowns/bitcoin,tecnovert/particl-core,instagibbs/bitcoin,AkioNak/bitcoin,particl/particl-core,instagibbs/bitcoin,andreaskern/bitcoin,namecoin/namecoin-core,lateminer/bitcoin,sipsorcery/bitcoin,bitcoinsSG/bitcoin,jambolo/bitcoin,mruddy/bitcoin,namecoin/namecoin-core,namecoin/namecoin-core,jambolo/bitcoin,fanquake/bitcoin,Xekyo/bitcoin,jamesob/bitcoin,GroestlCoin/GroestlCoin,ajtowns/bitcoin,anditto/bitcoin,ajtowns/bitcoin,instagibbs/bitcoin,bitcoinsSG/bitcoin,jamesob/bitcoin,AkioNak/bitcoin,ajtowns/bitcoin,domob1812/bitcoin,fujicoin/fujicoin,pataquets/namecoin-core,bitcoinknots/bitcoin,GroestlCoin/GroestlCoin,namecoin/namecore,mruddy/bitcoin,kallewoof/bitcoin,sipsorcery/bitcoin,mruddy/bitcoin,anditto/bitcoin,achow101/bitcoin,kallewoof/bitcoin