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

Allow to obtain the current tx #1431

Closed
shargon opened this issue Jan 30, 2020 · 2 comments
Closed

Allow to obtain the current tx #1431

shargon opened this issue Jan 30, 2020 · 2 comments
Labels
discussion Initial issue state - proposed but not yet accepted

Comments

@shargon
Copy link
Member

shargon commented Jan 30, 2020

Summary or problem description

Currently is not possible for the smart contract to know which TX is the invoker, in order to know (for example) the sender in Mint function.

Do you have any solution you want to propose?

GetTransaction(null) should return the current tx.

Neo Version

  • Neo 3
@shargon shargon added the discussion Initial issue state - proposed but not yet accepted label Jan 30, 2020
@erikzhang
Copy link
Member

GetScriptContainer?

@Tommo-L
Copy link
Contributor

Tommo-L commented Mar 2, 2020

Close?

@shargon shargon closed this as completed Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Initial issue state - proposed but not yet accepted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants