Commit 2ff75b1e authored by Jared Pereira's avatar Jared Pereira

validate transaction to

parent a3347e9c
......@@ -196,7 +196,7 @@ var COMMANDS = {
var receipt = args.receipt
var recipient = args.recipient
eth.getTransactionByHash(receipt).then(function(txData){
if(txData != null){
if(txData != null && recipient == txData.to){
sendToAddress({cmd:'transaction', receipt: receipt}, recipient)
}
}).catch(function(e){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment