diff --git a/docs/get-details/dapps/smart-contracts/frontend/smartsigs.md b/docs/get-details/dapps/smart-contracts/frontend/smartsigs.md index 7c1ec0f11..cb362a605 100644 --- a/docs/get-details/dapps/smart-contracts/frontend/smartsigs.md +++ b/docs/get-details/dapps/smart-contracts/frontend/smartsigs.md @@ -767,7 +767,7 @@ int 123 lastValidRound := uint64(txParams.LastRoundValid) tx, err := transaction.MakePaymentTxnWithFlatFee( addr, receiver, minFee, amount, firstValidRound, lastValidRound, note, "", genID, genHash) - txID, stx, err := crypto.SignLogicsigTransaction(lsig, tx) + txID, stx, err := crypto.SignLogicSigTransaction(lsig, tx) if err != nil { fmt.Printf("Signing failed with %v", err) return @@ -1247,7 +1247,7 @@ The following example illustrates signing a transaction with a created logic sig tx, err := transaction.MakePaymentTxnWithFlatFee( sender, receiver, fee, amount, firstValidRound, lastValidRound, note, "", genID, genHash ) - txID, stx, err := crypto.SignLogicsigTransaction(lsig, tx) + txID, stx, err := crypto.SignLogicSigTransaction(lsig, tx) if err != nil { fmt.Printf("Signing failed with %v", err) return diff --git a/examples/smart_contracts/v2/go/accountDelegation.go b/examples/smart_contracts/v2/go/accountDelegation.go index 54ecbe1cd..5bd57da39 100644 --- a/examples/smart_contracts/v2/go/accountDelegation.go +++ b/examples/smart_contracts/v2/go/accountDelegation.go @@ -113,7 +113,7 @@ func main() { sender, receiver, fee, amount, firstValidRound, lastValidRound, note, "", genID, genHash ) - txID, stx, err := crypto.SignLogicsigTransaction(lsig, tx) + txID, stx, err := crypto.SignLogicSigTransaction(lsig, tx) if err != nil { fmt.Printf("Signing failed with %v", err) return diff --git a/examples/smart_contracts/v2/go/contractAccount.go b/examples/smart_contracts/v2/go/contractAccount.go index 3f9a5e895..c77732452 100644 --- a/examples/smart_contracts/v2/go/contractAccount.go +++ b/examples/smart_contracts/v2/go/contractAccount.go @@ -104,7 +104,7 @@ func main() { tx, err := transaction.MakePaymentTxnWithFlatFee( addr, receiver, minFee, amount, firstValidRound, lastValidRound, note, "", genID, genHash) - txID, stx, err := crypto.SignLogicsigTransaction(lsig, tx) + txID, stx, err := crypto.SignLogicSigTransaction(lsig, tx) if err != nil { fmt.Printf("Signing failed with %v", err) return diff --git a/examples/smart_contracts/v2/go/dryrunDebugging.go b/examples/smart_contracts/v2/go/dryrunDebugging.go index a102e7f02..762b595a3 100644 --- a/examples/smart_contracts/v2/go/dryrunDebugging.go +++ b/examples/smart_contracts/v2/go/dryrunDebugging.go @@ -159,7 +159,7 @@ func main() { sender, receiver, fee, amount, firstValidRound, lastValidRound, note, "", genID, genHash ) - txID, stx, err := crypto.SignLogicsigTransaction(lsig, tx) + txID, stx, err := crypto.SignLogicSigTransaction(lsig, tx) if err != nil { fmt.Printf("Signing failed with %v", err) return