Open voodoologic opened 4 years ago
The txid
of your code and "hash": "6a2502f319f0b8c8a2ef2bdfd61b3a9d6592c29012e4cd13f86bcaa6670c9013"
match.
https://live.blockcypher.com/ltc/decodetx/ looks like returns a hash that excludes the witness of Segwit, that is txid.
I am having difficulty generating a new transaction from the example because the data returned by either an api or decoding the transaction from my own node is insufficiently mapped to how the Bitcoin::P::Tx.from_json library expects the values to be.
Is there more documentation w/ regards to litecoin over bitcoin? I made sure
Bitcoin.network = :litecoin
. I've also shimed the json to (hopefully) match the expected values of Bitcoin::P::TxIn/Out but the hashes aren't matching.This is the litecoin transaction from my node:
is from https://live.blockcypher.com/ltc/decodetx/