def METHOD_NAME(client: Client):
    inp1 = messages.TxInputType(
        address_n=parse_path("m/44h/6h/0h/0/0"),
        amount=100_000,
        prev_hash=TXHASH_41b29a,
        prev_index=0,
    )
    out1 = messages.TxOutputType(
        address="PXtfyTjzgXSgTwK5AbszdHQSSxyQN3BLM5",
        amount=100_000 - 10_000,
        script_type=messages.OutputScriptType.PAYTOADDRESS,
    )
    prevtx = TX_CACHE[TXHASH_41b29a]
    prevtx.timestamp = 0
    with pytest.raises(TrezorFailure, match="Timestamp must be set."):
        btc.sign_tx(
            client,
            "Peercoin",
            [inp1],
            [out1],
            version=1,
            timestamp=0x5DC5448A,
            prev_txes={TXHASH_41b29a: prevtx},
        )
    prevtx.timestamp = None
    with pytest.raises(TrezorFailure, match="Timestamp must be set."):
        btc.sign_tx(
            client,
            "Peercoin",
            [inp1],
            [out1],
            version=1,
            timestamp=0x5DC5448A,
            prev_txes={TXHASH_41b29a: prevtx},
        )