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

Sending transactions without -mine FindTransaction error #61

Open
ibrahimsn98 opened this issue Oct 6, 2019 · 0 comments
Open

Sending transactions without -mine FindTransaction error #61

ibrahimsn98 opened this issue Oct 6, 2019 · 0 comments

Comments

@ibrahimsn98
Copy link

ibrahimsn98 commented Oct 6, 2019

When I send transaction without -mine flag, so when I wait for the miner node to mine, I get an error on FindTransaction() method.


goroutine 24 [running]:
log.Panic(0xc000125750, 0x1, 0x1)
	/usr/local/go/src/log/log.go:326 +0xc0
blockchain/main/blockchain.Handle(0x9f4900, 0xc005512af0)
	/home/melianor/go/src/blockchain/main/blockchain/block.go:70 +0x64
blockchain/main/blockchain.(*BlockChain).VerifyTransaction(0xc00016c520, 0xc0054f8280, 0xc005528140)
	/home/melianor/go/src/blockchain/main/blockchain/blockchain.go:371 +0x39e
blockchain/main/network.MineTx(0xc00016c520)
	/home/melianor/go/src/blockchain/main/network/network.go:361 +0x197
blockchain/main/network.HandleTx(0xc00550e600, 0x24a, 0x600, 0xc00016c520)
	/home/melianor/go/src/blockchain/main/network/network.go:350 +0x606
blockchain/main/network.HandleConnection(0x9fa600, 0xc00000e670, 0xc00016c520)
	/home/melianor/go/src/blockchain/main/network/network.go:448 +0x2d1
created by blockchain/main/network.StartServer
	/home/melianor/go/src/blockchain/main/network/network.go:493 +0x2e3
exit status 2
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

No branches or pull requests

1 participant