mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-24 21:10:35 +01:00
Calls on the tx.calc_sha256 method can be confusing, as they return the result (either txid or wtxid, depending on the with_witness boolean parameter) as integer rather than as actual (w)txid. Use .rehash() and .getwtxid() instead to improve readability and in some cases avoid a conversion from string-txid to an integer.
38 KiB
Executable File
38 KiB
Executable File