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
I'm following the getting started tutorial and getting an error on Step 3 of Create an account:
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
github.com/hashgraph/hedera-sdk-go/v2.(*Transaction).GetTransactionHashPerNode(0xc0001fac60)
/home/asim/go/pkg/mod/github.com/hashgraph/hedera-sdk-go/v2@v2.17.4/transaction.go:422 +0x2d5
github.com/hashgraph/hedera-sdk-go/v2.(*Transaction).GetTransactionHash(0xc0001fac60)
/home/asim/go/pkg/mod/github.com/hashgraph/hedera-sdk-go/v2@v2.17.4/transaction.go:393 +0x33
github.com/hashgraph/hedera-sdk-go/v2.(*AccountCreateTransaction).Execute(0xc0001fac60, 0xc0001f2a00)
/home/asim/go/pkg/mod/github.com/hashgraph/hedera-sdk-go/v2@v2.17.4/account_create_transaction.go:490 +0x525
main.main()
/home/asim/labs/hedera/hedera-go-examples/hedera_examples.go:50 +0x805
exit status 2
I copied and pasted the code from the tutorial and haven't made any changes to it.
After debugging a little further I can see the following error status: StatusInvalidNodeAccount
Description
I'm following the getting started tutorial and getting an error on
Step 3
ofCreate an account
:I copied and pasted the code from the tutorial and haven't made any changes to it.
After debugging a little further I can see the following error status:
StatusInvalidNodeAccount
Steps to reproduce
go run hedera_examples.go
Additional context
No response
Hedera network
testnet
Version
v2
Operating system
Linux
The text was updated successfully, but these errors were encountered: