fix purchase test

This commit is contained in:
Lex Berezhny 2021-06-02 10:48:26 -04:00
parent 464cfd475e
commit 3805ff4a0c

View file

@ -60,7 +60,7 @@ class PurchaseCommandTests(CommandTestCase):
self.assertEqual( self.assertEqual(
await self.account.get_balance(), buyer_balance - (purchase.input_sum-purchase.outputs[2].amount)) await self.account.get_balance(), buyer_balance - (purchase.input_sum-purchase.outputs[2].amount))
self.assertEqual( self.assertEqual(
await self.blockchain.get_balance(), str(float(await self.blockchain.get_balance())),
dewies_to_lbc(merchant_balance + purchase_txo.amount) dewies_to_lbc(merchant_balance + purchase_txo.amount)
) )