Return curr_balance after asserting the fee was in range
(self, curr_balance, balance_with_fee, fee_per_byte, tx_size)
| 44 | self.sync_all(self.nodes[0:3]) |
| 45 | |
| 46 | def check_fee_amount(self, curr_balance, balance_with_fee, fee_per_byte, tx_size): |
| 47 | """Return curr_balance after asserting the fee was in range""" |
| 48 | fee = balance_with_fee - curr_balance |
| 49 | assert_fee_amount(fee, tx_size, fee_per_byte * 1000) |
| 50 | return curr_balance |
| 51 | |
| 52 | def get_vsize(self, txn): |
| 53 | return self.nodes[0].decoderawtransaction(txn)['vsize'] |
no test coverage detected