Allow to obtain the current tx#1432
Conversation
|
dotnet format is failing without changes... |
|
@shargon Will you apply it on devpack-dotnet? |
Yes, take a look neo-project/neo-devpack-dotnet@060d300 |
|
@erikzhang could you merge this, the error is not related to this PR |
|
Why not use |
|
As a developer perspective, we return an Array of stack items, but the developer can't know if it's a block or Transaction, with this method, we always know that it's a Transaction, maybe we should remove the Wwhat is the behaviour of this if it's not a Block? |
|
If it's a block, it won't call |
Always is a TX except in Is not better to create two syscalls and add |
For me, I'd like to see that we can add it, as it'll be more friendly to contract developers. |
Close #1431