mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-05 10:55:02 +00:00
Length check
This commit is contained in:
parent
d5262a3350
commit
c7d666ad61
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue