Auto merge of #1980 - bitcartel:fix_z_sendmany_logging_bug_txid, r=ebfull
Fix bug where z_sendmany logged incorrect txid fragment when sending from taddr Closes #1987.
This commit is contained in:
commit
f37f0805cc
|
@ -799,6 +799,12 @@ void AsyncRPCOperation_sendmany::sign_send_raw_transaction(Object obj)
|
||||||
o.push_back(Pair("hex", signedtxn));
|
o.push_back(Pair("hex", signedtxn));
|
||||||
set_result(Value(o));
|
set_result(Value(o));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep the signed transaction so we can hash to the same txid
|
||||||
|
CDataStream stream(ParseHex(signedtxn), SER_NETWORK, PROTOCOL_VERSION);
|
||||||
|
CTransaction tx;
|
||||||
|
stream >> tx;
|
||||||
|
tx_ = tx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue