Skip to content
Snippets Groups Projects
Commit e9ea0b5a authored by apenzk's avatar apenzk
Browse files

:bug: fix GetTrunkTransactionHash call

parent 091efb85
No related branches found
No related tags found
No related merge requests found
......@@ -82,8 +82,8 @@ func checkSolidity(transaction *value_transaction.ValueTransaction) (result bool
}
}
// check solidity of branch transaction if it is not genesis
if trunkTransactionHash := transaction.GetBranchTransactionHash(); trunkTransactionHash != meta_transaction.BRANCH_NULL_HASH {
// check solidity of trunk transaction if it is not genesis
if trunkTransactionHash := transaction.GetTrunkTransactionHash(); trunkTransactionHash != meta_transaction.BRANCH_NULL_HASH {
if trunkTransaction, trunkErr := GetTransaction(trunkTransactionHash); trunkErr != nil {
err = trunkErr
......
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