From bb40ea4ca566409ec7ad8c867d61c860eb389550 Mon Sep 17 00:00:00 2001 From: Ashish Bhanu Daulatabad Date: Sun, 11 Apr 2021 00:27:27 +0530 Subject: [PATCH] Wrong return --- ciphers/uint256_t.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ciphers/uint256_t.hpp b/ciphers/uint256_t.hpp index 3c7b75d25..854931d41 100644 --- a/ciphers/uint256_t.hpp +++ b/ciphers/uint256_t.hpp @@ -198,7 +198,7 @@ class uint256_t { */ inline uint256_t operator+(const uint256_t &p) { bool app = s + p.s < s; - return {f + app + p.f, p.s + s}; + return uint256_t(f + app + p.f, p.s + s); } /**