fix(issue-1299): 修复Add operator== to TokenNftTransfer#1313
fix(issue-1299): 修复Add operator== to TokenNftTransfer#1313milestone-17 wants to merge 1 commit intohiero-ledger:mainfrom
Conversation
Signed-off-by: landmark-achievement <3451978561@qq.com>
|
Hey @milestone-17 👋 thanks for the PR! This comment updates automatically as you push changes -- think of it as your PR's live scoreboard! PR Checks✅ DCO Sign-off -- All commits have valid sign-offs. Nice work! ❌ GPG Signature -- Heads up! The following commits don't have a verified GPG signature:
You'll need to sign your commits with GPG (e.g. ✅ Merge Conflicts -- No merge conflicts detected. Smooth sailing! ❌ Issue Link -- Almost there! You are not assigned to the following linked issues: #1299. Please ensure you are assigned to all linked issues before opening a PR. You can comment ⏳ All checks must pass before this PR can be reviewed. You've got this! |
Up to standards ✅🟢 Issues
|
|
Thanks for working on this, @milestone-17! I'm going to close this PR for the same reason as #1312 - you haven't completed the two Good First Issues required before taking on a beginner issue. The Good First Issues requirement exists specifically to get contributors comfortable with our workflow, and the issues showing up across both of your PRs (missing GPG signature, submitting without being assigned) are exactly what that process is designed to help you work through first. I do want to flag two things in the code itself so you're aware of them when you come back to this: First, the Second, there's a bug in the implementation in // Current (buggy) — lns compared against lns
return lns.mNftId == rhs.mNftId && lns.mSenderAccountId == lns.mSenderAccountId && ...
// Should be — lns compared against rhs
return lns.mNftId == rhs.mNftId && lns.mSenderAccountId == rhs.mSenderAccountId && ...Once you've got two good-first-issues merged, come back to #1299, comment |
|
/assgin |
Description:
Related issue(s):
Fixes #1299
Notes for reviewer:
Please check the logic in
TokenNftTransfer.cc'TokenNftTransfer.h'Checklist