Fix buy/sell miner fee calculation
Merge pull request #1099 from achamely/master

Fix buy/sell miner fee calculation