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

return error info if shard does not match #3169

Merged
merged 5 commits into from Jun 20, 2020
Merged

return error info if shard does not match #3169

merged 5 commits into from Jun 20, 2020

Conversation

songgeng87
Copy link
Contributor

add error info if shard does not match and make sure the rpc return it

add error info
return err info
node/node.go Outdated
@@ -303,8 +303,9 @@ func (node *Node) AddPendingTransaction(newTx *types.Transaction) error {
node.tryBroadcast(newTx)
}
return err
}else{
Copy link
Contributor

Choose a reason for hiding this comment

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

go fmt ./...

@Daniel-VDM
Copy link
Contributor

jenkins, test this please

@Daniel-VDM Daniel-VDM self-requested a review June 18, 2020 08:10
Copy link
Contributor

@Daniel-VDM Daniel-VDM left a comment

Choose a reason for hiding this comment

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

Please make the change in apiv2 as well.

…nd always return tx hash"

the same changes in apiv2
@Daniel-VDM Daniel-VDM self-requested a review June 20, 2020 18:24
@rlan35 rlan35 merged commit d36c257 into harmony-one:master Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants