Skip to content

Commit

Permalink
bugfix in address.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iammortimer committed Mar 18, 2020
1 parent 20ab447 commit a47b18c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions address.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,6 @@ def massTransferWaves(self, transfers, attachment='', timestamp=0,baseFee=0):
baseFee = self.pycwaves.DEFAULT_BASE_FEE

txFee = baseFee + (math.ceil((len(transfers) + 1) / 2 - 0.5)) * baseFee

if (asset.isSmart()):
txFee += smartFee

totalAmount = 0

for i in range(0, len(transfers)):
Expand Down Expand Up @@ -576,8 +572,6 @@ def massTransferAssets(self, transfers, asset, attachment='', timestamp=0,baseFe
if smartFee == 0:
smartFee = self.pycwaves.DEFAULT_SMART_FEE

if txFee == 0:
txFee = self.pycwaves.DEFAULT_TX_FEE
txFee = baseFee + (math.ceil((len(transfers) + 1) / 2 - 0.5)) * baseFee

if (asset.isSmart()):
Expand Down

0 comments on commit a47b18c

Please sign in to comment.