Enable seamless spending of timelocked coinbases through z_shieldcoinbase

This commit is contained in:
miketout
2018-05-09 00:49:09 -07:00
parent 32d8c6d015
commit 204cf3fcba
5 changed files with 26 additions and 5 deletions

View File

@@ -211,6 +211,7 @@ bool AsyncRPCOperation_shieldcoinbase::main_impl() {
CMutableTransaction rawTx(tx_);
for (ShieldCoinbaseUTXO & t : inputs_) {
CTxIn in(COutPoint(t.txid, t.vout));
in.nSequence = 0;
rawTx.vin.push_back(in);
}
tx_ = CTransaction(rawTx);