Closed saeveritt closed 6 years ago
This is relevant to new, unmerged branch @ belovachap:chapman_check_btcpy_integration
I believe it's relevant to both. Right now the master branch uses the Transaction
class by default for make_raw_transaction
.
@saeveritt good catch, using the "experimental btcpy" (a.k.a. PeerAssets/btcpy@master
) make_raw_transaction is hard coded to just use Bitcoin Transactions at the moment. I'll write a test and make a patch in https://github.com/PeerAssets/pypeerassets/pull/121 to either pass network params or otherwise let callers signal the Transaction Class they're working with :)
Network name parameter should be passed indeed.
We need to pass network parameters to
make_raw_transaction
intransactions.py
or choose between Transaction and PeercoinTx appropriately.Inside peerassets-btcpty transaction structs there are two classes,
Transaction
andPeercoinTx
. https://github.com/PeerAssets/pypeerassets/blob/master/pypeerassets/transactions.py#L66