Go SDK SendRawTransaction not actually sending?

Hey guys,

I am using the Go SDK and trying to send a transaction for TestNet. My node is fully synced with the ledger so that’s not the problem.

When I do SendRawTransaction (and I;ve done it on 3 different accounts in 3 different wallets now), it doesn’t give me an error and gives me a TxID. But, none of the transactions are getting recorded on AlgoExplorer and neither is the balance changing when I check using goal account balance

The TxID’s I got are as follows:
QVAMJQALIJZT7P2BU5R5WGFEQFYVES47VLNS7Z67AD6PN3TY55VA for address P25DTSK2P44WECFMOFQTGNRSBMN5YH4PUVNJYCM5JODN6KOZZRVY6EBCK4

PYDYLDHSO23WXJS55BILFVM2FGFBUBLE332OJRG3TQXWPTR6U5KA for address DL5IY3ZIT76Z2XKAURKCYUDX7YWVVYSFBGWARW7O5NWPACUH6XMWTAUWLA

XDL3XVL6WPN5QFFX3LFRHMWTEJ3IIQCYARCDNVN5ND4LWVO5GBWA for address A76PBCPEQUT7MSZYHQY6BCEZBDMFHOHR2D5LVGUQ7E2CT3K25JXOLXS3DU

Cheers

Do your accounts have sufficient balance such that they’ll have > 1000 tokens if the txn succeeds? If so, you could look in your node.log file for one of those TxIDs and see if there’s any entries for them indicating a problem. eg grep QVAMJQALIJZT7P2BU5R5WGFEQFYVES47VLNS7Z67AD6PN3TY55VA node.log. Let us know what you find - there may be opportunities for better feedback.

Yes, I got 100000 from the Dispenser and am attempting to send 1000 tokens. Running the command gives me
{"file":"node.go","function":"github.com/algorand/go-algorand/node.(*AlgorandFullNode).BroadcastSignedTxn","level":"info","line":402,"msg":"Sent signed tx QVAMJQALIJZT7P2BU5R5WGFEQFYVES47VLNS7Z67AD6PN3TY55VA","name":"","time":"2019-04-19T21:10:18.042721-07:00"}

All the TxID’s show up in a similar fashion in my node.log file

I solved this with the help of @ihagopian - I was setting the firstRound and lastRound window to txParams.LastRound, txParams.LastRound + 1 which was too small, so it was missing it. Changing the lastRound to txParams.LastRound + 10 solved it.

1 Like