Closed Ephraim-Akolo closed 1 year ago
Hi! Why do we need another method if it just returns a fixed path of a different one? Just call the original method and access needed data at path
The original method filters out some important parameters such as energy_used
and energy_penalty
and only returns the constant_result
parameter.
But it appears the original method returning the constant_result
is used, so i had to create another function to first return the complete data then the original function to parse out only the constant_result
so that there is no breakage in the code.
Ah sorry, I've misread the diff. Thanks for the explanation Hint: you can rebase your branch to avoid all those commits stacked together when you submit changes
okay, thank you.
needed the full dict returned by "wallet/triggerconstantcontract"