neo-go/pkg/wallet
Roman Khimov 54c5fd61df wallet: make SignTx more precise and accurate
* each account must have an appropriate signer, if there is no signer for
   this account in the tx it's an error
 * we can only safely append to Scripts when account belongs to the next
   signer (we don't have appropriate verification scripts for other signers)
 * when contract has one parameter, the signature shouldn't be appended to
   other data

I think these rules allow to handle more cases and do that safer. We have more
complex scenarios though, like non-signature parameters or mixed-parameter
invocation scripts, but that's out of scope for now.
2022-08-26 18:21:58 +03:00
..
testdata wallet: fix wallet version to conform to NEP-6 2022-08-07 22:41:40 +03:00
account.go wallet: make SignTx more precise and accurate 2022-08-26 18:21:58 +03:00
account_test.go wallet: make SignTx more precise and accurate 2022-08-26 18:21:58 +03:00
regenerate_test.go *: do not call wallet.Close() explicitly 2022-07-04 19:09:48 +03:00
token.go [#2442] English Check 2022-05-04 19:48:27 +03:00
token_test.go *: use NEP-XX naming consistently in docs/comments 2021-11-19 12:58:46 +03:00
wallet.go wallet: fix wallet version to conform to NEP-6 2022-08-07 22:41:40 +03:00
wallet_test.go *: fix tests failing due to path.Join usage 2021-11-29 11:11:09 +03:00