mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
bugfixes + tonlib update
This commit is contained in:
parent
2f81361a02
commit
eecf05ca59
35 changed files with 734 additions and 193 deletions
|
@ -30,6 +30,7 @@ td::Ref<vm::Cell> Config::serialize() const {
|
|||
rec.init_timeout = init_timeout;
|
||||
rec.close_timeout = close_timeout;
|
||||
rec.channel_id = channel_id;
|
||||
rec.min_A_extra = pack_grams(min_A_extra);
|
||||
|
||||
td::Ref<vm::Cell> res;
|
||||
CHECK(tlb::pack_cell(res, rec));
|
||||
|
@ -94,6 +95,13 @@ td::Ref<vm::Cell> MsgTimeout::serialize() const {
|
|||
return res;
|
||||
}
|
||||
|
||||
td::Ref<vm::Cell> MsgPayout::serialize() const {
|
||||
block::gen::ChanMsg::Record_chan_msg_payout rec;
|
||||
td::Ref<vm::Cell> res;
|
||||
CHECK(tlb::pack_cell(res, rec));
|
||||
return res;
|
||||
}
|
||||
|
||||
td::SecureString SignedPromise::signature(const td::Ed25519::PrivateKey* key, const td::Ref<vm::Cell>& promise) {
|
||||
return sign(promise, key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue