Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audi query test #2311

Merged
merged 7 commits into from
Dec 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
review comment
Signed-off-by: turuslan <[email protected]>
  • Loading branch information
turuslan committed Dec 12, 2024
commit 08e2d63065410c6217f7c9a4a528876d791a0aa9
5 changes: 2 additions & 3 deletions core/authority_discovery/publisher/address_publisher.cpp
Original file line number Diff line number Diff line change
@@ -155,9 +155,8 @@ namespace kagome::authority_discovery {
}
if (now) {
TimestampScale time{now->count()};
PB_SPAN_SET(*record.mutable_creation_time(),
timestamp,
scale::encode(time).value());
OUTCOME_TRY(encoded_time, scale::encode(time));
PB_SPAN_SET(*record.mutable_creation_time(), timestamp, encoded_time);
}

auto record_pb = pbEncodeVec(record);