aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PubsubKey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PubsubKey.cpp b/src/PubsubKey.cpp
index 64d2621..b0bd643 100644
--- a/src/PubsubKey.cpp
+++ b/src/PubsubKey.cpp
@@ -31,7 +31,7 @@ namespace sibs
std::string PubsubKey::toString() const
{
std::string result;
- result.reserve(data.size());
+ result.reserve(data.size() * 2);
for(usize i = 0; i < data.size(); ++i)
{
u8 c = data[i];