Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decentralized computer #99

Open
wants to merge 251 commits into
base: main
Choose a base branch
from
Open

decentralized computer #99

wants to merge 251 commits into from

Conversation

cedricfung
Copy link
Contributor

No description provided.

}

func (node *Node) CreateNonceAccount(ctx context.Context) (*solana.PublicKey, *solana.Hash, error) {
nonce, err := solana.NewRandomPrivateKey()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the nonce private key is irrelevant completely, we just use the public key.

h = sig
break
}
if strings.Contains(err.Error(), "Blockhash not found") {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the block hash expired, we will get stuck here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants