Bugfix: Provide correctly-ordered transaction hash (using new key hash_ for backward compatibility)
This commit is contained in:
@@ -23,6 +23,7 @@ typedef uint32_t blknonce_t;
|
||||
struct blktxn_t {
|
||||
unsigned char *data;
|
||||
size_t datasz;
|
||||
// NOTE: The byte order of hash is backward; use hash_ instead
|
||||
txnhash_t *hash;
|
||||
|
||||
signed long dependcount;
|
||||
@@ -31,6 +32,8 @@ struct blktxn_t {
|
||||
uint64_t fee;
|
||||
bool required;
|
||||
int16_t sigops;
|
||||
|
||||
txnhash_t *hash_;
|
||||
};
|
||||
|
||||
// BIP 23: Long Polling
|
||||
|
||||
Reference in New Issue
Block a user