You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What necessarily makes it need an open wallet to make this calculation?
On NEO 2 perhaps yes, due to UTXO calculations regarding size.
However, now, we mostly just use UInt160[] hashes = tx.GetScriptHashesForVerifying(snapshot); which are already created and then we get the VerificationScript using GetAccount(hash)?.Contract?.Script;
I suggested to restructure these functions to a different place on the neo-core and even move them from the Rpc-Wallet, making them more user friendly in a way that VerificationScripts can be passed as parameters for a generic calculation.
The text was updated successfully, but these errors were encountered:
The call
neo/src/neo/Wallets/Wallet.cs
Lines 356 to 421 in d73d190
What necessarily makes it need an open wallet to make this calculation?
On NEO 2 perhaps yes, due to UTXO calculations regarding size.
However, now, we mostly just use
UInt160[] hashes = tx.GetScriptHashesForVerifying(snapshot);
which are already created and then we get theVerificationScript
usingGetAccount(hash)?.Contract?.Script;
I suggested to restructure these functions to a different place on the neo-core and even move them from the Rpc-Wallet, making them more user friendly in a way that
VerificationScripts
can be passed as parameters for a generic calculation.The text was updated successfully, but these errors were encountered: