Fixed confirmation hash generation