Skip to content

Commit 61a03e8

Browse files
authored
Merge pull request #643 from evoskuil/master
Fix segregated derivation (trivial).
2 parents e8a8520 + 0e0ae43 commit 61a03e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/protocols/protocol_native.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ bool protocol_native::handle_get_block_details(const code& ec,
391391
{ "hash", encode_hash(key) },
392392
{ "height", context.height },
393393
{ "count", count },
394-
{ "segregated", maximal != maximal },
394+
{ "segregated", maximal != nominal },
395395
{ "nominal", nominal },
396396
{ "maximal", maximal },
397397
{ "weight", chain::weighted_size(nominal, maximal) },
@@ -693,7 +693,7 @@ bool protocol_native::handle_get_tx_details(const code& ec,
693693
// sigops and wtxid are not cached, so removed for now.
694694
boost::json::object object
695695
{
696-
{ "segregated", maximal != maximal },
696+
{ "segregated", maximal != nominal },
697697
{ "coinbase", query.is_coinbase(link) },
698698
{ "nominal", nominal },
699699
{ "maximal", maximal },

0 commit comments

Comments
 (0)