mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
fullnode: support for TCP master/slave replication
This commit is contained in:
parent
bfa166d66c
commit
f40822b58a
50 changed files with 1109 additions and 244 deletions
|
@ -209,7 +209,8 @@ Bignum& Bignum::import_lsb(const unsigned char* buffer, std::size_t size) {
|
|||
size--;
|
||||
}
|
||||
if (!size) {
|
||||
bn_assert(BN_zero(val));
|
||||
// Use BN_set_word, because from 1.1.0 BN_zero may return void
|
||||
bn_assert(BN_set_word(val, 0));
|
||||
return *this;
|
||||
}
|
||||
unsigned char tmp_buff[1024];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue