File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def run_test(self):
43
43
assert_equal (res [u'transactions' ], 200 )
44
44
assert_equal (res [u'height' ], 200 )
45
45
assert_equal (res [u'txouts' ], 200 )
46
- assert_equal (res [u'bytes_serialized' ], 13000 ),
46
+ assert_equal (res [u'bytes_serialized' ], 13924 ),
47
47
assert_equal (len (res [u'bestblock' ]), 64 )
48
48
assert_equal (len (res [u'hash_serialized' ]), 64 )
49
49
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ bool CCoinsViewDB::GetStats(CCoinsStats &stats) const {
121
121
nTotalAmount += out.nValue ;
122
122
}
123
123
}
124
- stats.nSerializedSize += 32 + pcursor->GetKeySize ();
124
+ stats.nSerializedSize += 32 + pcursor->GetValueSize ();
125
125
ss << VARINT (0 );
126
126
} else {
127
127
return error (" CCoinsViewDB::GetStats() : unable to read value" );
You can’t perform that action at this time.
0 commit comments