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

fix: contact service tari address support #6478

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

SWvheerden
Copy link
Collaborator

Description

Contact service still assumes that the node_id and tari address are the same. This changes contact service to check the tari address.

Motivation and Context

This allows a user to update the address of a contact without having to delete the contact. It will look at the address given and update the address accordingly.

How Has This Been Tested?

Manual

Copy link

github-actions bot commented Aug 19, 2024

Test Results (Integration tests)

 2 files  11 suites   27m 57s ⏱️
37 tests 34 ✅ 0 💤 3 ❌
41 runs  37 ✅ 0 💤 4 ❌

For more details on these failures, see this check.

Results for commit 91cea55.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Aug 19, 2024
Copy link

github-actions bot commented Aug 19, 2024

Test Results (CI)

    3 files    126 suites   39m 39s ⏱️
1 307 tests 1 307 ✅ 0 💤 0 ❌
3 907 runs  3 907 ✅ 0 💤 0 ❌

Results for commit 91cea55.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Comment on lines +184 to +185
one.public_spend_key().clone(),
one.network(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic would be more consistent this way:

Suggested change
one.public_spend_key().clone(),
one.network(),
two.public_spend_key().clone(),
two.network(),

@SWvheerden SWvheerden merged commit 7909a75 into tari-project:development Aug 20, 2024
15 of 17 checks passed
@SWvheerden SWvheerden deleted the sw_fix_contacts branch August 29, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants