diff --git a/uint256.h b/uint256.h index 0f79ff855..aff348796 100644 --- a/uint256.h +++ b/uint256.h @@ -374,6 +374,10 @@ public: return sizeof(pn); } + void zero(void) + { + memset(&pn[0], 0, sizeof(pn)); + } unsigned int GetSerializeSize(int nType=0) const {