1
0
This commit is contained in:
SomberNight
2018-06-14 22:19:06 +02:00
parent 8f7a4cf876
commit 1b834a7a78
3 changed files with 11 additions and 7 deletions

View File

@@ -1378,6 +1378,8 @@ class Abstract_Wallet(PrintError):
def bump_fee(self, tx, delta):
if tx.is_final():
raise Exception(_('Cannot bump fee') + ': ' + _('transaction is final'))
tx = Transaction(tx.serialize())
tx.deserialize(force_full_parse=True) # need to parse inputs
inputs = copy.deepcopy(tx.inputs())
outputs = copy.deepcopy(tx.outputs())
for txin in inputs: