def dump_footer(tx, missing_unspents):
    if (not missing_unspents):
        print(('Total input  %12.5f mBTC' % satoshi_to_mbtc(tx.total_in())))
    if 1:
        print(('Total output %12.5f mBTC' % satoshi_to_mbtc(tx.total_out())))
    if (not missing_unspents):
        print(('Total fees   %12.5f mBTC' % satoshi_to_mbtc(tx.fee())))
def dump_footer(tx, missing_unspents):
    if (not missing_unspents):
        print(('Total input  %12.5f mBTC' % satoshi_to_mbtc(tx.total_in())))
    if 1:
        print(('Total output %12.5f mBTC' % satoshi_to_mbtc(tx.total_out())))
    if (not missing_unspents):
        print(('Total fees   %12.5f mBTC' % satoshi_to_mbtc(tx.fee())))