Skip to content
Snippets Groups Projects
Unverified Commit 1f8fd9eb authored by Hans Moog's avatar Hans Moog Committed by GitHub
Browse files

Merge pull request #43 from iotaledger/fix-GetTrunkHash

:bug: fix GetTrunkTransactionHash call
parents 106250a1 e9ea0b5a
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