good morning!!!!

Skip to content
Snippets Groups Projects
Commit c7d666ad authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Length check

parent d5262a33
No related branches found
No related tags found
No related merge requests found
......@@ -248,7 +248,7 @@ Rectangle {
for(var i = 0; i < block.txs.length; i++) {
transactionModel.insert(0, block.txs.get(i))
}
if(block.txs.get(0).data){
if(block.txs.length > 0 && block.txs.get(0).data){
popup.showContractData(block.txs.get(0))
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment