mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
*: add/fix godoc comments to satisfy golint
Fixes things like: * exported type/method/function X should have comment or be unexported * comment on exported type/method/function X should be of the form "X ..." (with optional leading article) Refs. #213.
This commit is contained in:
parent
de84e074a2
commit
a9b9c9226d
47 changed files with 89 additions and 20 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
errs "github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// CreateRawContractTransaction returns contract-type Transaction built from specified parameters.
|
||||
func CreateRawContractTransaction(params ContractTxParams) (*transaction.Transaction, error) {
|
||||
var (
|
||||
err error
|
||||
|
@ -67,6 +68,7 @@ func CreateRawContractTransaction(params ContractTxParams) (*transaction.Transac
|
|||
return tx, nil
|
||||
}
|
||||
|
||||
// GetInvocationScript returns NEO VM script containing transaction signature.
|
||||
func GetInvocationScript(tx *transaction.Transaction, wif keys.WIF) ([]byte, error) {
|
||||
const (
|
||||
pushbytes64 = 0x40
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue