blocto / solana-go-sdk

Solana Golang SDK
https://blocto.github.io/solana-go-sdk/
MIT License
373 stars 96 forks source link

Send transaction test (main.go) gets "Transaction signature verification failure" #38

Closed aaetera closed 2 years ago

aaetera commented 2 years ago

I'm trying to send transaction to api.devnet.solana.com via examples/tour/transfer-sol/main.go and always getting an error "Transaction signature verification failure". Solana response is : {"jsonrpc":"2.0","error":{"code":-32003,"message":"Transaction signature verification failure"},"id":1} What am I doing wrong?

yihau commented 2 years ago

Can't see your code. Just guessing your signer is wrong. When you send a tx, there is must a fee payer should sign. for a transfer instruction, there is another signer, from Maybe you can check these two signer first.