Use base amount on minting

This commit is contained in:
nolash
2021-02-06 15:48:17 +01:00
parent 3f0516d4bc
commit 9b538d0e47
2 changed files with 5 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ class Test(unittest.TestCase):
r = self.w3.eth.getTransactionReceipt(tx_hash)
# No cheating!
self.contract.functions.transfer(self.w3.eth.accounts[3], spend_amount).transact({'from': self.w3.eth.accounts[3]})
# Cheapskate!
# No cheapskating!
self.contract.functions.transfer(external_address, spend_amount-1).transact({'from': self.w3.eth.accounts[4]})
self.assertEqual(r.status, 1)