fixes hashkey bug in bitcoin lib