aboutsummaryrefslogtreecommitdiffstats
path: root/src/big_code.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/big_code.cpp')
-rw-r--r--src/big_code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/big_code.cpp b/src/big_code.cpp
index f56fc53c4..03fa72dbd 100644
--- a/src/big_code.cpp
+++ b/src/big_code.cpp
@@ -104,7 +104,7 @@ BigInt BigInt::decode(const byte buf[], u32bit length, Base base)
SecureVector<byte> hex;
for(u32bit j = 0; j != length; ++j)
if(Hex_Decoder::is_valid(buf[j]))
- hex.append(buf[j]);
+ hex.push_back(buf[j]);
u32bit offset = (hex.size() % 2);
SecureVector<byte> binary(hex.size() / 2 + offset);