We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1920d84 commit 61c5491Copy full SHA for 61c5491
1 file changed
src/primitives/transaction.h
@@ -56,8 +56,9 @@ class CConfidentialCommitment
56
}
57
vchCommitment[0] = version;
58
59
- if (vchCommitment.size() > 1)
60
- READWRITE(REF(CFlatData(&vchCommitment[1], &vchCommitment[vchCommitment.size()])));
+ if (vchCommitment.size() > 1) {
+ READWRITE(REF(CFlatData(vchCommitment.data() + 1, vchCommitment.data() + vchCommitment.size())));
61
+ }
62
63
64
/* Null is the default state when no explicit asset or confidential
0 commit comments